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

Address the app generated 503s #352

Merged
merged 1 commit into from
Sep 30, 2014
Merged

Conversation

Martii
Copy link
Member

@Martii Martii commented Sep 30, 2014

Closes #345

NOTE: Server cloud services may already handle load balancing but keeping this in for the time being... if it crops up again, bump to a maximum of 175ms. toobusy-js does use timers that are never stopped even at the equivalent of document-idle event state. If this package proves long term to be an issue remove it completely... however during testing period it PASSED.

* Use proper usage of `maxLag` for process bump.
* Add in simple referer check mentioned in OpenUserJS#343 to prevent SEO/abuse.
* Remove separator from `./routesStatic.js` and let `join` do it's op.

Closes OpenUserJS#345

**NOTE**: Server cloud services may already handle load balancing but keeping this in for the time being... if it crops up again, bump to a maximum of 175ms. toobusy-js does use timers that are never stopped even at the equivalient of `document-idle` event state. If this package proves long term to be an issue remove it completely... however during testing period it **PASSED**.
Martii added a commit that referenced this pull request Sep 30, 2014
Address the app generated 503s

Auto-merge
@Martii Martii merged commit f74df2c into OpenUserJS:master Sep 30, 2014
@Martii Martii deleted the Issue-345 branch September 30, 2014 19:05
Martii pushed a commit to Martii/OpenUserJS.org that referenced this pull request Apr 6, 2016
* Reinstate *toobusy-js*... at least one of their timers has been fixed on shutdown. See OpenUserJS#354, OpenUserJS#353, OpenUserJS#352 and base issue of OpenUserJS#345 ... loosely related to OpenUserJS#249 and attempt to address OpenUserJS#944 with a work-around... VPS should be faster than our old one so perhaps the timers don't make as much of a difference. Start with our old default lag value... this may introduce too many 503's again but hopefully not
* Retested delete op
* Bug fixes, tests, and docs updates... please read their CHANGELOGS
* Shutdown the server on SIGINT
* Modify db closure to not have dependents
@Martii Martii mentioned this pull request Apr 6, 2016
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 23, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Discuss Serving Static Content From Another Server
1 participant