Esempio n. 1
0
        private void setWorkingOn(Job job)
        {
            job.worker = this;
            string data = Resque.encode(new Dictionary <string, object>()
            {
                { "queue", job.queue }, { "run_at", currentTimeFormatted() }, { "payload", job.payload }
            });

            Resque.redis().Set("resque:worker:" + workerId(), data);
        }