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

Occasional non-responsiveness of app #46

Open
glencbz opened this issue Aug 1, 2021 · 0 comments
Open

Occasional non-responsiveness of app #46

glencbz opened this issue Aug 1, 2021 · 0 comments

Comments

@glencbz
Copy link
Collaborator

glencbz commented Aug 1, 2021

Occasionally, call home fails to respond to user requests. This triggers a CRITICAL error from Heroku and Heroku restarts the process. The most likely cause seems to be that the hourly jobs schedule multiple Promises simultaneously, causing the user request not to be responded to in a timely manner.

There are multiple possible fixes:

  • Run the jobs in another piece of infractructure (e.g. another dyno or lambda)
  • Run the jobs in another process/thread
  • Schedule the promises in series instead of in parallel
@glencbz glencbz changed the title # Fix occasional non-responsiveness of app Occasional non-responsiveness of app Aug 1, 2021
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

No branches or pull requests

1 participant