On rufus-scheduler, it looks like it simply creates a new ruby thread:
class PlainScheduler < SchedulerCore
def start
@thread = Thread.new do
loop do
sleep(@frequency)
self.step
end
end
end
end
Would this remain on the same dyno as the initializer?
--
You received this message because you are subscribed to the Google Groups
"Heroku" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/heroku?hl=en.