We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9385498 commit 7154c11Copy full SHA for 7154c11
CHANGELOG.md
@@ -26,6 +26,7 @@ Versioning](http://semver.org/spec/v2.0.0.html) except to the first release.
26
- ConnectionPool does not properly handle disconnection with Opts.Reconnect
27
set (#272)
28
- Connect() panics on concurrent schema update (#281)
29
+- Wrong Ttr setup by Queue.Cfg() (#278)
30
31
## [1.10.0] - 2022-12-31
32
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