Skip to content

Commit a1e11a2

Browse files
committed
increased timeout
1 parent c78954b commit a1e11a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/discord/router/handler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ func (router *router) HTTPHandler() (http.HandlerFunc, error) {
9191
// run the interaction handler
9292
go func() {
9393
// while the limit for a deferred reply is on a scale of minutes, we probably do not want a user to wait that long
94-
ctx, cancel := context.WithTimeout(context.Background(), time.Second*7)
94+
ctx, cancel := context.WithTimeout(context.Background(), time.Second*15)
9595
defer cancel()
9696

9797
router.handleInteraction(ctx, data, cmd)

0 commit comments

Comments
 (0)