aboutsummaryrefslogtreecommitdiffstats
path: root/modules/queue
diff options
context:
space:
mode:
Diffstat (limited to 'modules/queue')
-rw-r--r--modules/queue/setting.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/queue/setting.go b/modules/queue/setting.go
index 0e6ff3a0a8..caaf123d42 100644
--- a/modules/queue/setting.go
+++ b/modules/queue/setting.go
@@ -75,7 +75,7 @@ func CreateUniqueQueue(name string, handle HandlerFunc, exemplar interface{}) Un
return nil
}
- if len(q.Type) > 0 && q.Type != "dummy" && !strings.HasPrefix(q.Type, "unique-") {
+ if len(q.Type) > 0 && q.Type != "dummy" && q.Type != "immediate" && !strings.HasPrefix(q.Type, "unique-") {
q.Type = "unique-" + q.Type
}