Hacker News new | ask | show | jobs
by mmcclure 4122 days ago
We've done similar things at work (using a Redis queue and a Go co-process), but I actually really like the idea of using a fairly common and well-liked delayed job interface in Rails and swapping out the worker underneath. Cool idea.

One minor suggestion for the author (post doesn't have a comment section). `:timer.sleep(10)` is explained as "sleep for 10 seconds", but sleep takes millis as an argument (http://www.erlang.org/doc/man/timer.html#sleep-1).