{"action":"created","issue":{"url":"https://api.github.com/repos/sobstel/metaphore/issues/15","repository_url":"https://api.github.com/repos/sobstel/metaphore","labels_url":"https://api.github.com/repos/sobstel/metaphore/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/sobstel/metaphore/issues/15/comments","events_url":"https://api.github.com/repos/sobstel/metaphore/issues/15/events","html_url":"https://github.com/sobstel/metaphore/issues/15","id":271177778,"number":15,"title":"Dead lock issue","user":{"login":"lchenay","id":804687,"avatar_url":"https://avatars2.githubusercontent.com/u/804687?v=4","gravatar_id":"","url":"https://api.github.com/users/lchenay","html_url":"https://github.com/lchenay","followers_url":"https://api.github.com/users/lchenay/followers","following_url":"https://api.github.com/users/lchenay/following{/other_user}","gists_url":"https://api.github.com/users/lchenay/gists{/gist_id}","starred_url":"https://api.github.com/users/lchenay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lchenay/subscriptions","organizations_url":"https://api.github.com/users/lchenay/orgs","repos_url":"https://api.github.com/users/lchenay/repos","events_url":"https://api.github.com/users/lchenay/events{/privacy}","received_events_url":"https://api.github.com/users/lchenay/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-11-04T09:02:27Z","updated_at":"2017-11-04T09:25:55Z","closed_at":null,"author_association":"NONE","body":"In case of fatal error, server restart... we can have a situation of dead lock issue.\r\n\r\nWhy not putting a ttl in the lock data and in case cache is not regenerating until this ttl, another thread is allow to get the lock and generate the cache."},"comment":{"url":"https://api.github.com/repos/sobstel/metaphore/issues/comments/341883442","html_url":"https://github.com/sobstel/metaphore/issues/15#issuecomment-341883442","issue_url":"https://api.github.com/repos/sobstel/metaphore/issues/15","id":341883442,"user":{"login":"lchenay","id":804687,"avatar_url":"https://avatars2.githubusercontent.com/u/804687?v=4","gravatar_id":"","url":"https://api.github.com/users/lchenay","html_url":"https://github.com/lchenay","followers_url":"https://api.github.com/users/lchenay/followers","following_url":"https://api.github.com/users/lchenay/following{/other_user}","gists_url":"https://api.github.com/users/lchenay/gists{/gist_id}","starred_url":"https://api.github.com/users/lchenay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lchenay/subscriptions","organizations_url":"https://api.github.com/users/lchenay/orgs","repos_url":"https://api.github.com/users/lchenay/repos","events_url":"https://api.github.com/users/lchenay/events{/privacy}","received_events_url":"https://api.github.com/users/lchenay/received_events","type":"User","site_admin":false},"created_at":"2017-11-04T09:25:55Z","updated_at":"2017-11-04T09:25:55Z","author_association":"NONE","body":"This seems to concern only FileStore.\r\nThose lines: https://github.com/sobstel/metaphore/blob/master/src/Store/FileStore.php#L64-L73\r\nCheck file existence. They must check also ttl."}}
{"actor":{"display_login":"lchenay"}}