提交 e875273e 编写于 作者: Y yuuji.yaginuma

use `average_scheduled_poll_interval` option instead of deprecated `poll_interval`

this removes the following warning:

```
DEPRECATION: `config.poll_interval = 0.5` will be removed in Sidekiq 4. Please update to `config.average_scheduled_poll_interval = 0.5`.
```
上级 a293812b
......@@ -57,7 +57,7 @@ def start_workers
concurrency: 1,
timeout: 1,
})
Sidekiq.poll_interval = 0.5
Sidekiq.average_scheduled_poll_interval = 0.5
Sidekiq::Scheduled.const_set :INITIAL_WAIT, 1
begin
sidekiq.run
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册