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

676 create periodic task to check processing services #704

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

vanessavmac
Copy link
Collaborator

Summary

Create a periodic celery beat task which pings the processing services and updates their last_checked timestamp and last_check_live boolean values.

List of Changes

  • Add migration to automatically create the task
  • Add celery beat task which runs on 5 minute cron schedule

Related Issues

For example, "Closes #676"

Screenshots

Screenshot 2025-01-28 at 12 24 24 AM

Processing service status and last checked values should update every 5 minutes.

Deployment Notes

Apply newly added migration ami/main/migrations/0045_add_processing_services_status_check_celery_beat_task.py

@vanessavmac vanessavmac requested a review from mihow January 28, 2025 05:25
@vanessavmac vanessavmac self-assigned this Jan 28, 2025
Copy link

netlify bot commented Jan 28, 2025

Deploy Preview for ami-dev canceled.

Name Link
🔨 Latest commit 1aba218
🔍 Latest deploy log https://app.netlify.com/sites/ami-dev/deploys/67986a5811ef320008ab5b6e

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.

Create periodic task to check processing services
1 participant