I have read, and understand, that a Web Dyno will go to sleep after 30 
minutes of inactivity. Once a new request comes in, it'll restart.
Fair enough.

However, when the same app also has a Worker Dyno, which normally would not 
go to sleep, it will be shutdown together with the Web Dyno.
I assume this is because normally, the Web Dyno exists only as interface to 
the Worker Dyno.

However, in my case these are two separate use-cases that simply share the 
same files (apart from the one script that is started).

Is there a way to keep the Worker Dyno alive, even if the Web Dyno goes to 
sleep?

I know I could "simply" move one of them to another project/app, but that 
would kind of defeat the purpose of them using the same library. (Actually 
a self-written JS/Node.js "module" where all the coding that is identical 
in both cases is moved.)
I don't want to replicate a ton of files just so that two scripts can run 
at the same time.

Christoph

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Heroku" group.

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_US?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Heroku Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to