Release 2641
Trello card
Context
The analytics events can ramp up quickly when the website has a bit of traffic (as multiple can be issued per request). This has caused the jobs in the default queue adapter to back up; instead, we want to give the default queue priority.
The additional load of analytics events have occasionally overloaded the single job worker; increasing to two workers to account for the additional jobs.
Changes proposed in this pull request
- Queue analytics events on a lower priority
- Add second delayed job worker in production
Guidance to review
The first attempt of this PR failed:
Error: The host is taken: school-experience-app-production-delayed
on route.tf line 20, in resource "cloudfoundry_route" "route_delayed":
20: resource "cloudfoundry_route" "route_delayed" ***