diff --git a/config/queue.go b/config/queue.go index fc0519b..20fa96a 100644 --- a/config/queue.go +++ b/config/queue.go @@ -10,9 +10,9 @@ const ( defaultQueuePassword = "password" defaultQueueUrl = "localhost:5672" defaultQueueType = QuorumQueueType - defaultQueueProcessingTimeout = time.Duration(5) * time.Second + defaultQueueProcessingTimeout = 5 * time.Second defaultQueueMsgMaxRetryAttempts = 10 - defaultReQueueDelayTime = time.Duration(5) * time.Second + defaultReQueueDelayTime = 5 * time.Second ) const (