Remove timeout waiting for app to start (#24336)
This commit is contained in:
@@ -429,12 +429,7 @@ class AppDomain extends Domain {
|
||||
final Completer<void> appStartedCompleter = Completer<void>();
|
||||
// We don't want to wait for this future to complete and callbacks won't fail.
|
||||
// As it just writes to stdout.
|
||||
appStartedCompleter.future.timeout(const Duration(minutes: 3), onTimeout: () { // ignore: unawaited_futures
|
||||
_sendAppEvent(app, 'log', <String, dynamic>{
|
||||
'log': 'timeout waiting for the application to start',
|
||||
'error': true,
|
||||
});
|
||||
}).then<void>((_) {
|
||||
appStartedCompleter.future.then<void>((_) { // ignore: unawaited_futures
|
||||
_sendAppEvent(app, 'started');
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user