Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
小滋润 committed Nov 11, 2024
1 parent ee3a3d1 commit ab34a89
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions global/nats/manager/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,26 @@ type MsgType interface {
type MessageHandler func(payload []byte) error

var backOff = []time.Duration{
time.Second * 10,
time.Second * 60,
time.Second * 300,
time.Hour,
time.Hour * 7,
time.Hour * 24,
}

var testBackOff = []time.Duration{
time.Second,
time.Second,
time.Second,
time.Second,
time.Second,
time.Second,
time.Second,
time.Second,
time.Second,
time.Second,
time.Second,
}

var testBackOff = []time.Duration{
time.Second,
time.Second,
time.Second,
Expand Down

0 comments on commit ab34a89

Please sign in to comment.