Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
darwin67 committed Nov 21, 2024
1 parent e183f6a commit b0b554e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,11 @@ func (h HandlerOpts) GetWorkerConcurrency() int {
}

func (h HandlerOpts) isDev() bool {
return (h.Dev != nil && *h.Dev) || IsDev()
if h.Dev != nil {
return *h.Dev
}

return IsDev()
}

// Handler represents a handler which serves the Inngest API via HTTP. This provides
Expand Down

0 comments on commit b0b554e

Please sign in to comment.