Skip to content

Commit

Permalink
Merge pull request #2992 from zendesk/grosser/heroku
Browse files Browse the repository at this point in the history
use periodical for heroku and for bootstrapped projects
  • Loading branch information
grosser authored Oct 11, 2018
2 parents e82cdd5 + 92dc019 commit c91cc34
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .env.bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ AUTH_GITHUB=true
RAILS_MIN_THREADS=2
RAILS_MAX_THREADS=10
CACHE_STORE=memory
PERIODICAL=stop_expired_deploys:60,remove_expired_locks:60,report_system_stats:60,report_process_stats:60,periodical_deploy:86400,cancel_stalled_builds:3600

# random string, do not use in live server
bin/decode_dot_env-U0VDUkVUX1RPS0VOPWUzNzExYzc3N2I0OWE5YmE2ZjRjZDQ0NTM5ZjRjNjc3ZTc2ZjdjMDhjMzQ2ODc1ZTUwYjExMTE5YzYxODM5ZDM4NWIyNzA5ZjFmZDhhYzJkODk5YjMyZGM4MThkMTQ1OWIyNjVjZmY5MWY2ZGNjNjM1NDA2YTQ3M2NkOTAzZjRh
Expand Down
4 changes: 4 additions & 0 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@
"CACHE_STORE": {
"description": "Caching backend",
"value": "memcached"
},
"PERIODICAL": {
"description": "Tasks to run periodically inside the server process",
"value": "stop_expired_deploys:60,remove_expired_locks:60,report_system_stats:60,report_process_stats:60,periodical_deploy:86400,cancel_stalled_builds:3600"
}
},
"scripts": {
Expand Down

0 comments on commit c91cc34

Please sign in to comment.