Commit graph

23 commits

Author SHA1 Message Date
Jonne Haß
a580171e32 Replace spork with spring, update & use binstubs
Spring is the recommended application preloader for rails
2014-12-01 08:06:07 +01:00
Lukas Matt
095608827e Add vines as foreman task 2014-11-13 11:36:55 +01:00
Jonne Haß
79a79d65d6 Bye Resque. Ohai Sidekiq.
* Dropped all references to Resque
* Moved all jobs under app/workers since that's the Sidekiq convention
* Renamed Jobs module to Worker to match new location
* Adapted all jobs to Sidekiq
* Replaced all enqueue calls with perform_async
* Dropped Resque hacks from specs and features, replaced with
  sidekig/testing in RSpec and sidekig/testing/inline in Cucumber
* Updated scripts to start a Sidekiq server
* Inline Sidekiq sinatra app
* Let Sidekiq create the actual Redis instance
* Workaround already initialized constant warnings in service models
* Resolved ToDo in one job definition by creating proper exception clases
  for some errors in receiving posts
* Added sidekiq section to configuration to make it completly
  configurable to the user
* Add Sidekiq middleware for clean backtraces
* Delay HttpMulti retry to give offline pods a chance to come back up
* Do not retry on GUID already taken and alike errors
* Be graceful about deleted posts in GatherOEmbedData
2013-03-21 23:39:07 +01:00
Jonne Haß
e75aa111e3 use foremans formation option and not the alias concurrency, start unicorn_rails instead of unicorn 2012-11-04 17:05:16 +01:00
Jonne Haß
f0ef4a764e refactor script/server and associated stuff 2012-10-19 12:25:15 +02:00
Maxwell Salzberg
fd63cb78c8 the default worker entry in the procfile will not actually run a worker 2012-10-17 10:55:18 -07:00
Jonne Haß
5754f334ed Change Procfile to minimal one 2012-09-26 20:23:47 +02:00
Maxwell Salzberg
d0162e05f2 add super slow worker [ci skip] 2012-02-21 12:40:26 -08:00
danielgrippi
028817541e remove star from procfile [ci skip] 2012-01-26 13:41:35 -08:00
danielgrippi
005b165e87 defer dispatching to help app processes not bloat in memory 2012-01-26 13:24:53 -08:00
danielgrippi
52438ffaf2 add unicorn back in. only use one worker process for now. also, move chrome_frame middleware into the correct load path in lib. [ci skip] 2012-01-24 14:56:55 -08:00
Maxwell Salzberg
efb05be072 MS TT; update Procfile to be aware of jd.com queue ordering; upgrade foreman 2012-01-16 13:42:02 -08:00
danielgrippi
f2cc8b4e41 Revert "move unicorn into the heroku group till we decide if we switch completly to it or not"
This reverts commit 641cedf343.

Revert "Merge pull request #2663 from torrancew/with_unicorn"

This reverts commit 2a2efd097f, reversing
changes made to 78978f051e.
2012-01-15 16:07:00 -08:00
Tray Torrance
fe72e9d45f Use unicorn with foreman/Procfile 2012-01-14 12:25:51 -08:00
Maxwell Salzberg
fedd864082 update heroku bundle to always include mysql 2012-01-13 15:16:59 -08:00
Maxwell Salzberg
d38e75c1f5 rollback foreman as it seemed to stop liking resque's ENV vars. [ci skip] 2012-01-07 22:55:43 -08:00
Maxwell Salzberg
2f6d41ce47 use mongrel webserver for now in procfile for los 2012-01-04 22:09:09 -08:00
Maxwell Salzberg
63cdd93afc the websocket has been completely removed, and replaced for a stub until
we find a better way to reimpliment it in a  more sane way
2012-01-03 18:39:54 -08:00
Jonne Hass
2cad824c82 remove resque-scheduler from start scripts (resque-retry revert) 2011-11-08 13:40:18 +01:00
Manuel Schölling
2de3f87c99 Added 'rake resque/scheduler' 2011-10-28 23:24:55 +02:00
danielgrippi
5681062f33 add 'bundle exec' to worker process 2011-09-14 18:07:54 -07:00
danielgrippi
3e80e4366d specifiy web process first in Procfile, otherwise passing -p to foreman won't do anything. 2011-08-29 16:04:23 -07:00
danielgrippi
1198670383 Added Foreman gem. Run Diaspora using foreman start (will start everything except mySQL. Passing in a -p flag will let you specifiy the port. Also: I took single_process_mode out of app config and made it an environment variable. If you want to boot a lightweight server, run SINGLE_PROCESS=true rails s. 2011-08-29 14:38:07 -07:00