Not sure if it's a documentation issue or a code issue but running the artisan command queue:prune-failed will not delete any failed jobs that were created within the past 24 hours.
It seems a bit counter intuitive to have an optional argument altering the default behaviour of the command. The documentation states:
If you provide the --hours option to the command, only the failed job records that were inserted within the last N number of hours will be retained.
It does not mention that failed jobs are always kept for 24 hours by default, I had to dig through the code to figure that one out.
Description:
Hi,
Not sure if it's a documentation issue or a code issue but running the artisan command queue:prune-failed will not delete any failed jobs that were created within the past 24 hours.
It seems a bit counter intuitive to have an optional argument altering the default behaviour of the command. The documentation states:
It does not mention that failed jobs are always kept for 24 hours by default, I had to dig through the code to figure that one out.
Steps To Reproduce: