{"action":"created","issue":{"url":"https://api.github.com/repos/thibaultcha/lua-resty-mlcache/issues/50","repository_url":"https://api.github.com/repos/thibaultcha/lua-resty-mlcache","labels_url":"https://api.github.com/repos/thibaultcha/lua-resty-mlcache/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/thibaultcha/lua-resty-mlcache/issues/50/comments","events_url":"https://api.github.com/repos/thibaultcha/lua-resty-mlcache/issues/50/events","html_url":"https://github.com/thibaultcha/lua-resty-mlcache/issues/50","id":313455005,"number":50,"title":"[feature] implement a `get_stale` option","user":{"login":"thibaultcha","id":1125431,"avatar_url":"https://avatars2.githubusercontent.com/u/1125431?v=4","gravatar_id":"","url":"https://api.github.com/users/thibaultcha","html_url":"https://github.com/thibaultcha","followers_url":"https://api.github.com/users/thibaultcha/followers","following_url":"https://api.github.com/users/thibaultcha/following{/other_user}","gists_url":"https://api.github.com/users/thibaultcha/gists{/gist_id}","starred_url":"https://api.github.com/users/thibaultcha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thibaultcha/subscriptions","organizations_url":"https://api.github.com/users/thibaultcha/orgs","repos_url":"https://api.github.com/users/thibaultcha/repos","events_url":"https://api.github.com/users/thibaultcha/events{/privacy}","received_events_url":"https://api.github.com/users/thibaultcha/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-11T19:22:57Z","updated_at":"2018-04-11T19:35:16Z","closed_at":null,"author_association":"OWNER","body":"when `true`, in the case an L3 callback error occurred (impossible to fetch the value from DB, or other), then `:get()` could look into the shm and return a stale value nonetheless."},"comment":{"url":"https://api.github.com/repos/thibaultcha/lua-resty-mlcache/issues/comments/380570553","html_url":"https://github.com/thibaultcha/lua-resty-mlcache/issues/50#issuecomment-380570553","issue_url":"https://api.github.com/repos/thibaultcha/lua-resty-mlcache/issues/50","id":380570553,"user":{"login":"jdesgats","id":849031,"avatar_url":"https://avatars2.githubusercontent.com/u/849031?v=4","gravatar_id":"","url":"https://api.github.com/users/jdesgats","html_url":"https://github.com/jdesgats","followers_url":"https://api.github.com/users/jdesgats/followers","following_url":"https://api.github.com/users/jdesgats/following{/other_user}","gists_url":"https://api.github.com/users/jdesgats/gists{/gist_id}","starred_url":"https://api.github.com/users/jdesgats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdesgats/subscriptions","organizations_url":"https://api.github.com/users/jdesgats/orgs","repos_url":"https://api.github.com/users/jdesgats/repos","events_url":"https://api.github.com/users/jdesgats/events{/privacy}","received_events_url":"https://api.github.com/users/jdesgats/received_events","type":"User","site_admin":false},"created_at":"2018-04-11T19:35:16Z","updated_at":"2018-04-11T19:35:16Z","author_association":"CONTRIBUTOR","body":"I was working on exactly that feature last week! One thing I noticed is that trying to `:get()` a stale value on a shared dict evict it instantly if the value is found to be expired.\r\n\r\nI have a \"working\" branch on our internal mirror. I did not made a PR yet as it hasn't been battle tested in production for now, but I can upload the branch on my fork more quickly if you want."}}
{"actor":{"display_login":"jdesgats"}}