riverqueue / river

Fast and reliable background jobs in Go
https://riverqueue.com
Mozilla Public License 2.0
3.22k stars 86 forks source link

remove unnecessary completer nil check #377

Closed bgentry closed 2 months ago

bgentry commented 2 months ago

The completer must always be non-nil when starting a client (working jobs). The prior check for willExecuteJobs provides the required safety without this additional nil check.