increase timeout
This commit is contained in:
@@ -13,7 +13,7 @@ class TorProxyRepository extends _$TorProxyRepository {
|
||||
|
||||
Future<void> setProxyPort(int port) {
|
||||
return _serviceLock.synchronized(() async {
|
||||
await _waitHealthcheck().timeout(const Duration(seconds: 10));
|
||||
await _waitHealthcheck().timeout(const Duration(seconds: 30));
|
||||
|
||||
return _service.setProxyPort(port);
|
||||
});
|
||||
|
||||
@@ -42,7 +42,7 @@ final class TorProxyRepositoryProvider
|
||||
}
|
||||
|
||||
String _$torProxyRepositoryHash() =>
|
||||
r'dd565140620a1f66090e84e541d5ea8e34ab0094';
|
||||
r'3bdb83bdb1c5d1bb5d8953878cd587d042d30342';
|
||||
|
||||
abstract class _$TorProxyRepository extends $Notifier<void> {
|
||||
void build();
|
||||
|
||||
Reference in New Issue
Block a user