rpc timeout mod

This commit is contained in:
julian 2023-07-25 13:48:39 -06:00
parent c9470a5078
commit 128fa9db6c

View file

@ -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);
}, },