timeout multiplied (#1990)

This commit is contained in:
Nikolay Volf 2016-08-23 18:51:23 +04:00 committed by Gav Wood
parent f2be2aec68
commit 9fc144cc2f

View File

@ -28,7 +28,7 @@ use nanomsg::{Socket, Protocol, Error, Endpoint, PollRequest, PollFd, PollInOut}
use std::ops::Deref; use std::ops::Deref;
const POLL_TIMEOUT: isize = 200; const POLL_TIMEOUT: isize = 200;
const CLIENT_CONNECTION_TIMEOUT: isize = 15000; const CLIENT_CONNECTION_TIMEOUT: isize = 120000;
/// Generic worker to handle service (binded) sockets /// Generic worker to handle service (binded) sockets
pub struct Worker<S: ?Sized> where S: IpcInterface { pub struct Worker<S: ?Sized> where S: IpcInterface {