-
Notifications
You must be signed in to change notification settings - Fork 195
Open
Labels
Description
Hi,
This is somewhat similar to this (quite old) issue #33 (which I think would likely still be a "nice to have") but we think that an initial_run_at would likely be a lot more useful.
Our use case is that we are trying to see how backed up Que jobs are in order to set alarms based on that. The issue is that currently in order to determine the job_delay, we need to do something along these lines:
- if
error_count = 0=>job_delay = now() - run_at - if
error_count > 0=>job_delay = now() - F(run_at, error_count)
The major benefit in adding initial_run_at would be to make this always be:
job_delay = now() - initial_run_at
regardless of the error_count.
Is there any appetite for adding the column initial_run_at (and also potentially created_at as a nice to have)?
Thanks,
Paul
Reactions are currently unavailable