Closed (fixed)
Project:
Purge
Version:
8.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
16 Dec 2019 at 19:20 UTC
Updated:
29 Aug 2022 at 17:39 UTC
Jump to comment: Most recent
I think a Notice is more appropriate than an Exception. No work to do is a good thing!
| Comment | File | Size | Author |
|---|---|---|---|
| empty.patch | 705 bytes | moshe weitzman |
Comments
Comment #2
moshe weitzman commentedAny objections? Its a 1 line patch.
Comment #3
moshe weitzman commentedComment #4
johnzzonI also find it weird to throw an exception when queue is empty. We're running this as a CronJob in Kubernetes every 5 minutes and an exception marks the job as failed.
Patch looks good!
Comment #5
moshe weitzman commentedLets get this in please (or mark wont fix).
Comment #6
moshe weitzman commentedTwo years in the queue. Any chance we could get some action here? Thanks.
Comment #7
acbramley commentedBump, this is a no brainer.
Comment #8
achtonLGTM, too! We also run cron jobs in Kubernetes. Please get this in lest our cluster overflow with erroring Pods.
And japerry just merged another issue a few hours ago, so there is hope!
Comment #10
japerryYah, having less exceptions would be good. Merged!