Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix fetched jobs should only update its heartbeat if processing #384

Merged
merged 2 commits into from
Feb 11, 2024

Conversation

gottscj
Copy link
Owner

@gottscj gottscj commented Feb 11, 2024

  • Set FetchedAt to null only when "AddToQueue" is invoked.
  • use server time fallback using "serverStatus" if aggregation does not work (if old mongo version)

- Set FetchedAt to null only when "AddToQueue" is invoked.
- use server time fallback using "serverStatus" if aggregation does not
  work (if old mongo version)
@gottscj gottscj merged commit 8e3d426 into master Feb 11, 2024
1 check passed
@gottscj gottscj deleted the fix-heartbeats-for-fetched-jobs branch February 11, 2024 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant