Merge pull request #9460 from simlecode/fix/incorrect-calculation
fix: not multiplied by the number of seconds
This commit is contained in:
commit
1720f51d69
@ -112,7 +112,7 @@ type MessagePoolEvtMessage struct {
|
||||
|
||||
func init() {
|
||||
// if the republish interval is too short compared to the pubsub timecache, adjust it
|
||||
minInterval := pubsub.TimeCacheDuration + time.Duration(build.PropagationDelaySecs)
|
||||
minInterval := pubsub.TimeCacheDuration + time.Duration(build.PropagationDelaySecs)*time.Second
|
||||
if RepublishInterval < minInterval {
|
||||
RepublishInterval = minInterval
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user