Merge pull request #2461 from peternlewis/pop3s_polling_period_mins
Add a SiteSetting to control the pop3 polling period.
This commit is contained in:
commit
6aa44fd412
|
@ -8,7 +8,7 @@ require_dependency 'email/message_builder'
|
|||
|
||||
module Jobs
|
||||
class PollMailbox < Jobs::Scheduled
|
||||
every 5.minutes
|
||||
every SiteSetting.pop3s_polling_period_mins.minutes
|
||||
sidekiq_options retry: false
|
||||
include Email::BuildEmailHelper
|
||||
|
||||
|
|
|
@ -854,6 +854,7 @@ en:
|
|||
|
||||
pop3s_polling_enabled: "Poll via POP3S for email replies"
|
||||
pop3s_polling_insecure: "Poll using plain text POP3 without SSL"
|
||||
pop3s_polling_period_mins: "The period in minutes between checking the POP3S account for email"
|
||||
pop3s_polling_port: "The port to poll a POP3S account on"
|
||||
pop3s_polling_host: "The host to poll for email via POP3S"
|
||||
pop3s_polling_username: "The username for the POP3S account to poll for email"
|
||||
|
|
|
@ -361,6 +361,7 @@ email:
|
|||
reply_by_email_address: ''
|
||||
pop3s_polling_enabled: false
|
||||
pop3s_polling_insecure: false
|
||||
pop3s_polling_period_mins: 5
|
||||
pop3s_polling_host: ''
|
||||
pop3s_polling_port: 995
|
||||
pop3s_polling_username: ''
|
||||
|
|
Loading…
Reference in New Issue