0

当我尝试使用从 pheanstalk 中删除作业时出现此错误

$this->pheanstalkObj->delete($job);

 /pheanstalk/classes/Pheanstalk/Connection.php(121): Pheanstalk_Command_DeleteCommand->parseResponse('NOT_FOUND', NULL)
 /pheanstalk/classes/Pheanstalk.php(508): Pheanstalk_Connection->dispatchCommand(Object(Pheanstalk_Command_DeleteCommand))
 /pheanstalk/classes/Pheanstalk.php(67): Pheanstalk->_dispatch(Object(Pheanstalk_Command_DeleteCommand))
 /Altibbi/BeanstalkEngine.php(844): Pheanstalk->delete(Object(Pheanstalk_Job))
 /var/www/altibbi/2.6.3.5/application/controllers/CliController.php(959): Altibbi_BeanstalkEngine->workQueue('recentactivity')
 /var/www/altibbi/2.6.3.5/application/controllers/CliController.php(123): CliController->beanstalkWorker('recentactivity')
/Zend/Controller/Action.php(514): CliController->indexAction()
 /Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('indexAction')
 /Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))

问题是什么?

谢谢

4

2 回答 2

0

该工作不存在,被客户掩埋或保留。您可以在协议描述中获得有关响应的更多信息

于 2013-11-13T10:40:56.020 回答
0

“NOT_FOUND”如果作业不存在或未被客户端保留、准备好或埋没。如果作业在客户端发送删除命令之前超时,可能会发生这种情况。

于 2017-08-28T13:21:31.220 回答