nicksawhney / bernie-sits

A site that went kinda viral that lets you put Bernie Sanders in places
GNU Affero General Public License v3.0
307 stars 50 forks source link

increasing timeout and making concurrency better #7

Closed jziesing closed 3 years ago

jziesing commented 3 years ago

increasing timeout and making concurrency better

Hey Nick!! we spoke last night. This simple change in your Procfile will help increase memory usage and cuncurrent requests

Use the config var WEB_CONCURRENCY=12 with a PM dyno will work better on Heroku. Just set it in the settings tab on the web interface

https://devcenter.heroku.com/articles/optimizing-dyno-usage#concurrent-web-servers

nicksawhney commented 3 years ago

Thanks so much Jack! (Just updating the version here on github)