0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-26 17:12:49 +01:00

Fix the issue reported on #12385 (#12969)

Missed setting ConnectionString on queuesettings

Signed-off-by: Andrew Thornton <art27@cantab.net>
This commit is contained in:
zeripath 2020-09-29 00:00:54 +01:00 committed by GitHub
parent feb1a8cabc
commit 5cfc1f573f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 {