{"action":"created","issue":{"url":"https://api.github.com/repos/fsr-itse/EvaP/issues/1278","repository_url":"https://api.github.com/repos/fsr-itse/EvaP","labels_url":"https://api.github.com/repos/fsr-itse/EvaP/issues/1278/labels{/name}","comments_url":"https://api.github.com/repos/fsr-itse/EvaP/issues/1278/comments","events_url":"https://api.github.com/repos/fsr-itse/EvaP/issues/1278/events","html_url":"https://github.com/fsr-itse/EvaP/pull/1278","id":375196230,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI2Njk4MTAx","number":1278,"title":"refreshes the results cache after a change","user":{"login":"Tardigrade00","id":44581373,"node_id":"MDQ6VXNlcjQ0NTgxMzcz","avatar_url":"https://avatars2.githubusercontent.com/u/44581373?v=4","gravatar_id":"","url":"https://api.github.com/users/Tardigrade00","html_url":"https://github.com/Tardigrade00","followers_url":"https://api.github.com/users/Tardigrade00/followers","following_url":"https://api.github.com/users/Tardigrade00/following{/other_user}","gists_url":"https://api.github.com/users/Tardigrade00/gists{/gist_id}","starred_url":"https://api.github.com/users/Tardigrade00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tardigrade00/subscriptions","organizations_url":"https://api.github.com/users/Tardigrade00/orgs","repos_url":"https://api.github.com/users/Tardigrade00/repos","events_url":"https://api.github.com/users/Tardigrade00/events{/privacy}","received_events_url":"https://api.github.com/users/Tardigrade00/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-29T20:13:47Z","updated_at":"2018-10-30T08:28:31Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/fsr-itse/EvaP/pulls/1278","html_url":"https://github.com/fsr-itse/EvaP/pull/1278","diff_url":"https://github.com/fsr-itse/EvaP/pull/1278.diff","patch_url":"https://github.com/fsr-itse/EvaP/pull/1278.patch"},"body":"fixes #1236 \r\nThe results cache now updates if the semester name, course type name or degree name is changed, so that it is also updated in the display of the courses.\r\nA problem that arose is that there is a race condition in the function update_template_cache."},"comment":{"url":"https://api.github.com/repos/fsr-itse/EvaP/issues/comments/434212646","html_url":"https://github.com/fsr-itse/EvaP/pull/1278#issuecomment-434212646","issue_url":"https://api.github.com/repos/fsr-itse/EvaP/issues/1278","id":434212646,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNDIxMjY0Ng==","user":{"login":"He3lixxx","id":13838962,"node_id":"MDQ6VXNlcjEzODM4OTYy","avatar_url":"https://avatars0.githubusercontent.com/u/13838962?v=4","gravatar_id":"","url":"https://api.github.com/users/He3lixxx","html_url":"https://github.com/He3lixxx","followers_url":"https://api.github.com/users/He3lixxx/followers","following_url":"https://api.github.com/users/He3lixxx/following{/other_user}","gists_url":"https://api.github.com/users/He3lixxx/gists{/gist_id}","starred_url":"https://api.github.com/users/He3lixxx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/He3lixxx/subscriptions","organizations_url":"https://api.github.com/users/He3lixxx/orgs","repos_url":"https://api.github.com/users/He3lixxx/repos","events_url":"https://api.github.com/users/He3lixxx/events{/privacy}","received_events_url":"https://api.github.com/users/He3lixxx/received_events","type":"User","site_admin":false},"created_at":"2018-10-30T08:28:31Z","updated_at":"2018-10-30T08:28:31Z","author_association":"COLLABORATOR","body":"Looks good so far :)\r\nTo circumvent the race condition we could probably use django's cache.set or cache.set_many methods, see the documentation here: https://docs.djangoproject.com/en/2.1/topics/cache/#basic-usage\r\n\r\nThis would be a refactoring that is quite a bit bigger I think (because we don't have a single template for just one row afaik), though, and I didn't see anything about atomic updates."}}
{"actor":{"display_login":"He3lixxx"}}