-
-
Notifications
You must be signed in to change notification settings - Fork 5
Configuration
Andrei Horak edited this page Mar 23, 2019
·
1 revision
Pallets.configure do |c|
# How many workers to process incoming jobs?
c.concurrency = 2
c.backend = :redis
c.serializer = :json
c.backend_args = { db: 1 }
# What's the maximum allowed time to process a job?
c.job_timeout = 1800
# How many times should a job be retried?
c.max_failures = 3
endFor the complete set of options, see pallets/configuration.rb