summaryrefslogtreecommitdiff
path: root/plugins/jobs
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jobs')
-rw-r--r--plugins/jobs/drivers/amqp/config.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/jobs/drivers/amqp/config.go b/plugins/jobs/drivers/amqp/config.go
index 73482d4d..c5e985a5 100644
--- a/plugins/jobs/drivers/amqp/config.go
+++ b/plugins/jobs/drivers/amqp/config.go
@@ -47,6 +47,10 @@ func (c *Config) InitDefault() {
c.Exchange = "amqp.default"
}
+ if c.Queue == "" {
+ c.Queue = "default"
+ }
+
if c.Prefetch == 0 {
c.Prefetch = 10
}