示例#1
0
 public Dictionary <string, object> payload()
 {
     return((Dictionary <string, object>)Resque.decode(job()["payload"].ToString()));
 }
示例#2
0
 public Dictionary <string, object> job()
 {
     return((Dictionary <string, object>)Resque.decode(Resque.redis().Get("resque:worker:" + workerId())));
 }