Skip to content

Commit efe8d0a

Browse files
mohammad-t/update_ping_timeout (#247)
- update ping timeout
1 parent 1271c42 commit efe8d0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/state/connection/connection_cubit.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class ConnectionCubit extends Cubit<ConnectionState> {
4646
late final BaseAPI? _api;
4747

4848
// In some devices like Samsung J6 or Huawei Y7, the call manager doesn't response to the ping call less than 5 sec.
49-
final Duration _pingTimeout = const Duration(seconds: 1);
49+
final Duration _pingTimeout = const Duration(seconds: 5);
5050

5151
final Duration _connectivityCheckInterval = const Duration(seconds: 5);
5252

0 commit comments

Comments
 (0)