0

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.

Alister Bulman
  • 34,482
  • 9
  • 71
  • 110
djo0x0
  • 23
  • 3

1 Answers1

0

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

djo0x0
  • 23
  • 3