We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21123d2 commit 579dea8Copy full SHA for 579dea8
CHANGELOG.md
@@ -27,6 +27,7 @@ Versioning](http://semver.org/spec/v2.0.0.html) except to the first release.
27
set (#272)
28
- Watcher events loss with a small per-request timeout (#284)
29
- Connect() panics on concurrent schema update (#278)
30
+- Wrong Ttr setup by Queue.Cfg() (#278)
31
32
## [1.10.0] - 2022-12-31
33
queue/queue.go
@@ -143,7 +143,7 @@ func (opts CfgOpts) toMap() map[string]interface{} {
143
ret := make(map[string]interface{})
144
ret["in_replicaset"] = opts.InReplicaset
145
if opts.Ttr != 0 {
146
- ret["ttr"] = opts.Ttr
+ ret["ttr"] = opts.Ttr.Seconds()
147
}
148
return ret
149
0 commit comments