Skip to content

Commit

Permalink
Change max /delay from 20s to 300s
Browse files Browse the repository at this point in the history
  • Loading branch information
sharat87 committed Jun 30, 2023
1 parent 1087d83 commit 1794e69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bun/bun.go
Original file line number Diff line number Diff line change
Expand Up @@ -422,8 +422,8 @@ func handleDelayedResponse(ex *exchange.Exchange) {
return
}

if n > 20 {
ex.RespondBadRequest("Delay can't be greater than 20")
if n > 300 {
ex.RespondBadRequest("Delay can't be greater than 300")
return
}

Expand Down

0 comments on commit 1794e69

Please sign in to comment.