Commit graph

8 commits

Author SHA1 Message Date
Andrew Cantino
8781fd16b5 try again 2014-07-18 19:23:18 -07:00
Andrew Cantino
1f3553dddd trying a custom buildpack to customize Procfile 2014-07-18 18:31:54 -07:00
Andrew Cantino
b9e7d6d617 trying to get Heroku working 2014-07-15 20:23:46 -07:00
Dominik Sander
df9032272c Threaded background worker now is the default 2014-06-01 12:16:43 +02:00
Dominik Sander
8a51dbc4bd Provide an optional threaded background worker
Due to the three background workers (scheduler, twitter stream and delayed job)
huginn needs a lot of memory to run (about 520MB on my dev machine). This PR
introduces an optional threaded background worker which combines the three current
separated processed into one (reducing the memory footprint to ~260MB).
Since just one instance of the of every background processor is running at a time
there should not be any threading related issues.
The main gotcha of this is, that it's most likely not possible to run multiple
delayed job workers concurrently. The ultimate solution would probably be switching
to sidekiq with sidetiq as scheduler, but that is a different task :)

When running on MRI the GIL should not be an issue because it is released for most IO
bound operations (waiting for the database/website/sleeping).
2014-05-12 00:28:07 +02:00
Rajarshi Das
878dfa5c15 Git +EOL 2014-04-16 13:24:23 +05:30
Andrew Cantino
d5164ad56b work in progress 2013-04-07 14:19:21 -07:00
Mike Harris
f778a8de92 Added a Procfile
Added a Procfile.  Just run foreman start to start the web server and all 3 background processes.
2013-03-15 13:47:23 -04:00