File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -17,8 +17,8 @@ use crate::net::tls::wrap_tls;
17
17
use crate :: socks:: Socks5Config ;
18
18
use fast_socks5:: client:: Socks5Stream ;
19
19
20
- /// IMAP write and read timeout.
21
- pub ( crate ) const IMAP_TIMEOUT : Duration = Duration :: from_secs ( 30 ) ;
20
+ /// IMAP connection, write and read timeout.
21
+ pub ( crate ) const IMAP_TIMEOUT : Duration = Duration :: from_secs ( 60 ) ;
22
22
23
23
#[ derive( Debug ) ]
24
24
pub ( crate ) struct Client {
Original file line number Diff line number Diff line change @@ -27,8 +27,8 @@ use crate::scheduler::connectivity::ConnectivityStore;
27
27
use crate :: socks:: Socks5Config ;
28
28
use crate :: sql;
29
29
30
- /// SMTP write and read timeout.
31
- const SMTP_TIMEOUT : Duration = Duration :: from_secs ( 30 ) ;
30
+ /// SMTP connection, write and read timeout.
31
+ const SMTP_TIMEOUT : Duration = Duration :: from_secs ( 60 ) ;
32
32
33
33
#[ derive( Default ) ]
34
34
pub ( crate ) struct Smtp {
You can’t perform that action at this time.
0 commit comments