{"action":"closed","issue":{"url":"https://api.github.com/repos/aspnet/Caching/issues/259","repository_url":"https://api.github.com/repos/aspnet/Caching","labels_url":"https://api.github.com/repos/aspnet/Caching/issues/259/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Caching/issues/259/comments","events_url":"https://api.github.com/repos/aspnet/Caching/issues/259/events","html_url":"https://github.com/aspnet/Caching/issues/259","id":198009797,"number":259,"title":"Expiration only happens during a request","user":{"login":"strohhut","id":15095059,"avatar_url":"https://avatars.githubusercontent.com/u/15095059?v=3","gravatar_id":"","url":"https://api.github.com/users/strohhut","html_url":"https://github.com/strohhut","followers_url":"https://api.github.com/users/strohhut/followers","following_url":"https://api.github.com/users/strohhut/following{/other_user}","gists_url":"https://api.github.com/users/strohhut/gists{/gist_id}","starred_url":"https://api.github.com/users/strohhut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/strohhut/subscriptions","organizations_url":"https://api.github.com/users/strohhut/orgs","repos_url":"https://api.github.com/users/strohhut/repos","events_url":"https://api.github.com/users/strohhut/events{/privacy}","received_events_url":"https://api.github.com/users/strohhut/received_events","type":"User","site_admin":false},"labels":[{"id":117884896,"url":"https://api.github.com/repos/aspnet/Caching/labels/duplicate","name":"duplicate","color":"cccccc","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-12-29T13:47:37Z","updated_at":"2016-12-29T18:56:32Z","closed_at":"2016-12-29T18:56:32Z","body":"I set my `ExpirationScanFrequency` to 5 seconds and I'm inserting entries with 10 seconds `AbsoluteExpirationRelativeToNow`.\r\n\r\nProblem is that those never evict if there aren't requests (or maybe they evict but `PostEvictionCallbacks` callback are only executed when there is a web request?).\r\n\r\nIs this how it is intended? Docs don't mention that in order for `PostEvictionCallbacks` a request is necessary (but they also don't mention that callbacks are only executed after a scan.)\r\n\r\nSo I guess a scan needs a request and an expiration needs a scan? "}}
{"actor":{"display_login":"strohhut"}}