Ideally this would run once per hour, but I'm not yet sure how to do that in Kue without an inefficient loop. In the meantime, running on worker startup at least partially automates this.
Server changes (config/, server/, worker/, etc.):
Adds a rotate-bosses job which checks for existing boss events, and adds the subsequent boss event when expired
Triggers the job once on worker startup
Testing
Have you have tested your changes in the following scenarios?
Feel free to check off scenarios which don't apply.
[x] Starting backend services locally with docker compose up succeeds.
[x] I am able to create a new user and log in locally.
[x] I am able to complete a practice game locally.
[x] I am able to complete a purchase of Orbs, etc.
Summary
Closes #227.
Ideally this would run once per hour, but I'm not yet sure how to do that in Kue without an inefficient loop. In the meantime, running on worker startup at least partially automates this.
Server changes (
config/
,server/
,worker/
, etc.):rotate-bosses
job which checks for existing boss events, and adds the subsequent boss event when expiredTesting
Have you have tested your changes in the following scenarios? Feel free to check off scenarios which don't apply.
docker compose up
succeeds.