{"action":"opened","issue":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/9925","labels_url":"https://api.github.com/repos/yiisoft/yii2/issues/9925/labels{/name}","comments_url":"https://api.github.com/repos/yiisoft/yii2/issues/9925/comments","events_url":"https://api.github.com/repos/yiisoft/yii2/issues/9925/events","html_url":"https://github.com/yiisoft/yii2/issues/9925","id":111549572,"number":9925,"title":"reconnect in long time console script when pdo connection lost","user":{"login":"sanwv","id":4526812,"avatar_url":"https://avatars.githubusercontent.com/u/4526812?v=3","gravatar_id":"","url":"https://api.github.com/users/sanwv","html_url":"https://github.com/sanwv","followers_url":"https://api.github.com/users/sanwv/followers","following_url":"https://api.github.com/users/sanwv/following{/other_user}","gists_url":"https://api.github.com/users/sanwv/gists{/gist_id}","starred_url":"https://api.github.com/users/sanwv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sanwv/subscriptions","organizations_url":"https://api.github.com/users/sanwv/orgs","repos_url":"https://api.github.com/users/sanwv/repos","events_url":"https://api.github.com/users/sanwv/events{/privacy}","received_events_url":"https://api.github.com/users/sanwv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-15T05:48:34Z","updated_at":"2015-10-15T05:48:34Z","closed_at":null,"body":"I have a console script do a task never stop. After a period of time script will stop process task but php script not exit! Analyzing log file i found pdo connection had lost.\r\nhad a way let reconnect some times? try catch not flexible"}}