Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我很困惑为什么当 reserve() 在 pheanstalk 中阻塞时 put 会阻塞,我写了两个函数:
这两个都在同一台主机上,但是当我执行函数run()时,如果它被阻塞;put() 函数也会阻塞,我很困惑。
er,因为 cron 作业在会话实例之后写入;和会话添加文件锁。