mirror of
https://github.com/timokz/flutter-vienna-hackathon-25.git
synced 2025-11-08 17:14:21 +01:00
increase client timeout
This commit is contained in:
parent
07870891da
commit
5f686b7b96
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ void main() {
|
|||
final serverUrl =
|
||||
serverUrlFromEnv.isEmpty ? 'http://$localhost:8080/' : serverUrlFromEnv;
|
||||
|
||||
client = Client(serverUrl)
|
||||
client = Client(serverUrl, connectionTimeout: const Duration(seconds: 5))
|
||||
..connectivityMonitor = FlutterConnectivityMonitor();
|
||||
|
||||
client.openStreamingConnection();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue