chrisboulton / php-resque

PHP port of resque (Workers and Queueing)
MIT License
3.44k stars 761 forks source link

php-resque return status of job as one and 'perform' function is not called #349

Open manu154c opened 7 years ago

manu154c commented 7 years ago

Following is the question along with code sample i asked in stackoverflow https://stackoverflow.com/questions/43950295/php-resque-worker-not-working .

output of redis-cli monitor

`1494823197.952772 [0 127.0.0.1:35868] "SELECT" "0"

1494823197.952912 [0 127.0.0.1:35868] "SADD" "resque:queues" "default"

1494823197.953201 [0 127.0.0.1:35868] "RPUSH" "resque:queue:default" "{\"class\":\"My_Job\",\"args\":[{\"name\":\"Chris\"}],\"id\":\"5d3629bf42919823d35ddf6ca8e1b609\"}"

1494823197.953385 [0 127.0.0.1:35868] "SET" "resque:job:5d3629bf42919823d35ddf6ca8e1b609:status" "{\"status\":1,\"updated\":1494823197,\"started\":1494823197}"

1494823197.953688 [0 127.0.0.1:35868] "EXISTS" "resque:job:5d3629bf42919823d35ddf6ca8e1b609:status"

1494823197.953823 [0 127.0.0.1:35868] "GET" "resque:job:5d3629bf42919823d35ddf6ca8e1b609:status"`