summaryrefslogtreecommitdiffstats
path: root/modules/queue
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2020-09-29 00:00:54 +0100
committerGitHub <noreply@github.com>2020-09-28 19:00:54 -0400
commit5cfc1f573fd986cf141165d52dd18255069f0d06 (patch)
tree33a7f7e52c26b863603081d5b8fd0c1da67fa030 /modules/queue
parentfeb1a8cabcb038c9281838fb535a3d997e3ba29a (diff)
downloadgitea-5cfc1f573fd986cf141165d52dd18255069f0d06.tar.gz
gitea-5cfc1f573fd986cf141165d52dd18255069f0d06.zip
Fix the issue reported on #12385 (#12969)
Missed setting ConnectionString on queuesettings Signed-off-by: Andrew Thornton <art27@cantab.net>
Diffstat (limited to 'modules/queue')
-rw-r--r--modules/queue/setting.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/queue/setting.go b/modules/queue/setting.go
index 786a08a3b0..35c33aeac2 100644
--- a/modules/queue/setting.go
+++ b/modules/queue/setting.go
@@ -43,6 +43,7 @@ func getQueueSettings(name string) (setting.QueueSettings, []byte) {
opts["BlockTimeout"] = q.BlockTimeout
opts["BoostTimeout"] = q.BoostTimeout
opts["BoostWorkers"] = q.BoostWorkers
+ opts["ConnectionString"] = q.ConnectionString
cfg, err := json.Marshal(opts)
if err != nil {