{"action":"created","issue":{"url":"https://api.github.com/repos/udokmeci/yii2-beanstalk/issues/9","labels_url":"https://api.github.com/repos/udokmeci/yii2-beanstalk/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/udokmeci/yii2-beanstalk/issues/9/comments","events_url":"https://api.github.com/repos/udokmeci/yii2-beanstalk/issues/9/events","html_url":"https://github.com/udokmeci/yii2-beanstalk/issues/9","id":89409711,"number":9,"title":"Exception:  'Job 5 NOT_FOUND: does not exist or is not reserved by client'","user":{"login":"vitaliykoziy","id":1904996,"avatar_url":"https://avatars.githubusercontent.com/u/1904996?v=3","gravatar_id":"","url":"https://api.github.com/users/vitaliykoziy","html_url":"https://github.com/vitaliykoziy","followers_url":"https://api.github.com/users/vitaliykoziy/followers","following_url":"https://api.github.com/users/vitaliykoziy/following{/other_user}","gists_url":"https://api.github.com/users/vitaliykoziy/gists{/gist_id}","starred_url":"https://api.github.com/users/vitaliykoziy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vitaliykoziy/subscriptions","organizations_url":"https://api.github.com/users/vitaliykoziy/orgs","repos_url":"https://api.github.com/users/vitaliykoziy/repos","events_url":"https://api.github.com/users/vitaliykoziy/events{/privacy}","received_events_url":"https://api.github.com/users/vitaliykoziy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-18T22:10:24Z","updated_at":"2015-06-22T13:14:20Z","closed_at":"2015-06-22T05:03:50Z","body":"Hi.\r\nI have issue:\r\nexception 'Pheanstalk\\Exception\\ServerException' with message 'Job 5 NOT_FOUND: does not exist or is not reserved by client' in /var/www/site/vendor/pda/pheanstalk/src/Command/ReleaseCommand.php:63\r\n\r\nMy code executes about 77 s. I think, that is why I have this issue.\r\nWhat can I do for fix this?\r\nHelp please.\r\nThks.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/udokmeci/yii2-beanstalk/issues/comments/114098656","html_url":"https://github.com/udokmeci/yii2-beanstalk/issues/9#issuecomment-114098656","issue_url":"https://api.github.com/repos/udokmeci/yii2-beanstalk/issues/9","id":114098656,"user":{"login":"vitaliykoziy","id":1904996,"avatar_url":"https://avatars.githubusercontent.com/u/1904996?v=3","gravatar_id":"","url":"https://api.github.com/users/vitaliykoziy","html_url":"https://github.com/vitaliykoziy","followers_url":"https://api.github.com/users/vitaliykoziy/followers","following_url":"https://api.github.com/users/vitaliykoziy/following{/other_user}","gists_url":"https://api.github.com/users/vitaliykoziy/gists{/gist_id}","starred_url":"https://api.github.com/users/vitaliykoziy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vitaliykoziy/subscriptions","organizations_url":"https://api.github.com/users/vitaliykoziy/orgs","repos_url":"https://api.github.com/users/vitaliykoziy/repos","events_url":"https://api.github.com/users/vitaliykoziy/events{/privacy}","received_events_url":"https://api.github.com/users/vitaliykoziy/received_events","type":"User","site_admin":false},"created_at":"2015-06-22T13:14:20Z","updated_at":"2015-06-22T13:14:20Z","body":"I did, as You recommend.\r\n```php\r\npublic function actionDoSome($job)\r\n    {\r\n        try {\r\n\r\n            //some code\r\n            return self::NO_ACTION;\r\n        } catch (\\Exception $exc) {\r\n            return self::DELETE;\r\n        }\r\n    }\r\n```\r\nIt is ok. But job running twice. And Job delete after second run, when exception catched.\r\n\r\n\r\nI resolve my issue by this way\r\n\r\n```php\r\n Yii::$app->beanstalk->putInTube('doSome', $job, $priority, 0, $ttr);\r\n```\r\nwhere \r\n```php\r\n$ttr = 600 (s).\r\n```\r\n\r\nThanks, for your help.\r\n\r\n"}}