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

feat: migrate birthday handler to scheduler job #43

Merged
merged 4 commits into from
May 23, 2024

Conversation

benw202
Copy link
Member

@benw202 benw202 commented Mar 24, 2024

Description

ENV variable must be set before being merged

This PR migrates the birthday handler to be run with the scheduler. The birthday function was written before the scheduler and never migrated.

The interval that birthdays are checked is set in the environment variables.

Code works as before, just with some bug fixes and small improvements.

The gifs will also be stored on our CDN.

Test Results

image

Discord Username

benw8484

@benw202 benw202 added the do not merge Don't merge this PR label Mar 24, 2024
@benw202 benw202 marked this pull request as ready for review April 3, 2024 12:48
@pdellaert
Copy link
Collaborator

Let me know when you plan to merge this and I can set the environment variable in DigitalOcean. Even if I do it a little later (like a few hours), it wouldn't make too much of a difference because once I set it, it would trigger a restart, get the job set up and it would post whatever birthdays it could have missed :).

@benw202 benw202 removed the do not merge Don't merge this PR label May 23, 2024
@benw202 benw202 merged commit 78c2006 into flybywiresim:staging May 23, 2024
3 checks passed
@benw202 benw202 deleted the birthday-rewrite branch May 23, 2024 09:41
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.

None yet

2 participants