File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -45,16 +45,16 @@ impl Host {
4545 let api_sock = ZSock :: new ( ZSockType :: REQ ) ;
4646 user_cert. apply ( & api_sock) ;
4747 api_sock. set_curve_serverkey ( server_cert. public_txt ( ) ) ;
48- api_sock. set_sndtimeo ( Some ( 60000 ) ) ;
49- api_sock. set_rcvtimeo ( Some ( 60000 ) ) ;
48+ api_sock. set_sndtimeo ( Some ( 1800000 ) ) ;
49+ api_sock. set_rcvtimeo ( Some ( 1800000 ) ) ;
5050 try!( api_sock. connect ( & format ! ( "tcp://{}:{}" , hostname, api_port) ) ) ;
5151 self . api_sock = Some ( api_sock) ;
5252
5353 let file_sock = ZSock :: new ( ZSockType :: DEALER ) ;
5454 user_cert. apply ( & file_sock) ;
5555 file_sock. set_curve_serverkey ( server_cert. public_txt ( ) ) ;
56- file_sock. set_sndtimeo ( Some ( 60000 ) ) ;
57- file_sock. set_rcvtimeo ( Some ( 60000 ) ) ;
56+ file_sock. set_sndtimeo ( Some ( 1800000 ) ) ;
57+ file_sock. set_rcvtimeo ( Some ( 1800000 ) ) ;
5858 try!( file_sock. connect ( & format ! ( "tcp://{}:{}" , hostname, file_port) ) ) ;
5959 self . file_sock = Some ( file_sock) ;
6060
You can’t perform that action at this time.
0 commit comments