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: Add decorator for running task every hour #4481

Conversation

zachaysan
Copy link
Contributor

@zachaysan zachaysan commented Aug 12, 2024

Changes

Fixes #4473

Added a decorator to run this task once an hour.

How did you test this code?

I called the .delay() method to ensure that the task is still callable.

@zachaysan zachaysan requested a review from a team as a code owner August 12, 2024 18:16
@zachaysan zachaysan requested review from khvn26 and removed request for a team August 12, 2024 18:16
Copy link

vercel bot commented Aug 12, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 14, 2024 0:19am
flagsmith-frontend-preview ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 14, 2024 0:19am
flagsmith-frontend-staging ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 14, 2024 0:19am

@github-actions github-actions bot added api Issue related to the REST API fix labels Aug 12, 2024
Copy link
Contributor

github-actions bot commented Aug 12, 2024

Docker builds report

Image Build Status Security report
ghcr.io/flagsmith/flagsmith-api-test:pr-4481 Finished ✅ Skipped
ghcr.io/flagsmith/flagsmith-e2e:pr-4481 Finished ✅ Skipped
ghcr.io/flagsmith/flagsmith-frontend:pr-4481 Finished ✅ Results
ghcr.io/flagsmith/flagsmith-api:pr-4481 Finished ✅ Results
ghcr.io/flagsmith/flagsmith-private-cloud:pr-4481 Finished ✅ Results
ghcr.io/flagsmith/flagsmith:pr-4481 Finished ✅ Results

Copy link
Contributor

github-actions bot commented Aug 12, 2024

Uffizzi Preview deployment-55172 was deleted.

Copy link

codecov bot commented Aug 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.92%. Comparing base (a5197d1) to head (6ef9e6e).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4481   +/-   ##
=======================================
  Coverage   96.92%   96.92%           
=======================================
  Files        1177     1177           
  Lines       39466    39467    +1     
=======================================
+ Hits        38252    38253    +1     
  Misses       1214     1214           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@matthewelwell matthewelwell added this pull request to the merge queue Aug 14, 2024
Merged via the queue into main with commit a395a47 Aug 14, 2024
35 checks passed
@matthewelwell matthewelwell deleted the fix/run_update_organisation_subscription_information_cache_every_hour branch August 14, 2024 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Issue related to the REST API fix
Projects
None yet
2 participants