I think a Notice is more appropriate than an Exception. No work to do is a good thing!

CommentFileSizeAuthor
empty.patch705 bytesmoshe weitzman

Comments

moshe weitzman created an issue. See original summary.

moshe weitzman’s picture

Any objections? Its a 1 line patch.

moshe weitzman’s picture

Status: Needs review » Reviewed & tested by the community
johnzzon’s picture

I 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!

moshe weitzman’s picture

Lets get this in please (or mark wont fix).

moshe weitzman’s picture

Two years in the queue. Any chance we could get some action here? Thanks.

acbramley’s picture

Bump, this is a no brainer.

achton’s picture

LGTM, 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!

  • japerry committed 635c2f1 on 8.x-3.x authored by moshe weitzman
    Issue #3101392 by moshe weitzman: Remove exception during first run in p...
japerry’s picture

Status: Reviewed & tested by the community » Fixed

Yah, having less exceptions would be good. Merged!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.