Increase connection timeout further (#13415)

This commit is contained in:
Sarah Zakarias
2017-12-07 15:06:57 +01:00
committed by GitHub
parent e38d48021c
commit f40a9398a5
2 changed files with 4 additions and 1 deletions

View File

@@ -105,7 +105,7 @@ Future<VMIsolateRef> _connectToRunnerIsolate(int vmServicePort) async {
throw 'not ready yet';
return isolate;
} catch (error) {
const Duration connectionTimeout = const Duration(seconds: 4);
const Duration connectionTimeout = const Duration(seconds: 30);
if (new DateTime.now().difference(started) > connectionTimeout) {
throw new TimeoutException(
'Failed to connect to the task runner process',