4 ms·
too bad that you forgot to mention that this doesn't work on windows :-) also, didn't see anything about that from documentation either...
by juuser 17y ago
too bad that you forgot to mention that this doesn't work on windows :-)
also, didn't see anything about that from documentation either...
- jashkenas 17y agoYes, you're quite right -- sorry for the omission. The worker daemons (via the Daemons gem) use Kernel.fork and UNIX signals for management, neither of which are really supported on Windows. There's a decent chance that Cygwin will work.
- UncleOxidant 17y agoIt's tough to make this sort of thing cross-platform (at least where cross-platform includes Windows) because the Windows process model is a good bit different than *nix. So focusing on Unix (incl Linux and OS X) is probably the way to go here. Besides, nobody uses Windows for heavy lifting, do they? ;-)