Increased timeout to normal use.
This commit is contained in:
parent
de30c4d3af
commit
c6b31f7e39
2 changed files with 3 additions and 3 deletions
|
@ -73,7 +73,7 @@ example
|
||||||
Rails.logger.info "fetching imap (#{options[:host]}/#{options[:user]} port=#{port},ssl=#{ssl})"
|
Rails.logger.info "fetching imap (#{options[:host]}/#{options[:user]} port=#{port},ssl=#{ssl})"
|
||||||
|
|
||||||
# on check, reduce open_timeout to have faster probing
|
# on check, reduce open_timeout to have faster probing
|
||||||
timeout = 12
|
timeout = 24
|
||||||
if check_type == 'check'
|
if check_type == 'check'
|
||||||
timeout = 6
|
timeout = 6
|
||||||
end
|
end
|
||||||
|
|
|
@ -61,8 +61,8 @@ returns
|
||||||
#@pop.set_debug_output $stderr
|
#@pop.set_debug_output $stderr
|
||||||
|
|
||||||
# on check, reduce open_timeout to have faster probing
|
# on check, reduce open_timeout to have faster probing
|
||||||
@pop.open_timeout = 8
|
@pop.open_timeout = 12
|
||||||
@pop.read_timeout = 12
|
@pop.read_timeout = 24
|
||||||
if check_type == 'check'
|
if check_type == 'check'
|
||||||
@pop.open_timeout = 4
|
@pop.open_timeout = 4
|
||||||
@pop.read_timeout = 6
|
@pop.read_timeout = 6
|
||||||
|
|
Loading…
Reference in a new issue