mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-22 02:24:30 +00:00
rpc timeout mod
This commit is contained in:
parent
c9470a5078
commit
128fa9db6c
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ class JsonRPC {
|
||||||
|
|
||||||
// TODO different timeout length?
|
// TODO different timeout length?
|
||||||
req.initiateTimeout(
|
req.initiateTimeout(
|
||||||
const Duration(seconds: 10),
|
Duration(seconds: connectionTimeout.inSeconds ~/ 2),
|
||||||
onTimedOut: () {
|
onTimedOut: () {
|
||||||
_requestQueue.remove(req);
|
_requestQueue.remove(req);
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue