Commit graph

10 commits

Author SHA1 Message Date
Andrew Cantino
fa492b75c8 Merge pull request #104 from cantino/transactionally_schedule
Add better event handling (expiration) and transactions
2013-11-23 21:17:59 -08:00
Andrew Cantino
ed5cb4ca2f fix stream to work with filter groups 2013-11-07 22:47:58 -08:00
Andrew Cantino
86bcc465a4 allow events to expire; fix spec 2013-11-05 00:31:58 -08:00
Andrew Cantino
f32c6f0f7c add a transaction around event receiving 2013-11-04 22:28:32 -08:00
Andrew Cantino
0dcee80cba use TwitterConcern in the twitter_stream_agent; cleanup unused memory; add specs 2013-11-04 21:03:13 -08:00
KenYN
9991825d56 Handle rufus_scheduler v3 also
Stop rufus_scheduler v3 leaking ActiveRecord handles. See [this StackOverflow answer for details](http://stackoverflow.com/a/19380690/1270789).

rufus_scheduler v3 [deprecated `start_new`](https://github.com/jmettraux/rufus-scheduler/blob/master/lib/rufus/scheduler.rb#L120), so instead I call `new`. In [v2.0.22 this creates a `PlainScheduler`](82b70feeb2/lib/rufus/scheduler.rb (L33)), but fortunately the defaults that Huginn uses means that `start_new` in v2.0.22 also creates a `PlainScheduler`.
2013-10-21 12:17:08 +09:00
Andrew Cantino
1bc8a3bc05 fix the twitter stream agent. It requires OAuth credentials now. 2013-07-19 23:38:36 -07:00
Andrew Cantino
3692041bb3 typo 2013-03-30 14:20:17 -07:00
Andrew Cantino
fead62f41d ignore empty filter tokens 2013-03-30 14:15:30 -07:00
Andrew Cantino
620acffa5a initial commit 2013-03-09 22:36:12 -08:00