djo0x0
djo0x0

Reputation: 23

pheanstalk:put will be blocking when reserve() is blocking

I am so confused why put will be blocking when reserve() is blocking in pheanstalk, I have write two function:

  1. put function :

enter image description here

  1. worker function:

enter image description here

both of these are on a same host, but when i exec the function run(), if it's blocking; the function put() will blocking too, I am so confused.

Upvotes: 0

Views: 117

Answers (1)

djo0x0
djo0x0

Reputation: 23

er, because the cron job write after the session instance; and session add a file lock.

Upvotes: 0

Related Questions