{"action":"closed","issue":{"url":"https://api.github.com/repos/NatLibFi/Annif/issues/111","repository_url":"https://api.github.com/repos/NatLibFi/Annif","labels_url":"https://api.github.com/repos/NatLibFi/Annif/issues/111/labels{/name}","comments_url":"https://api.github.com/repos/NatLibFi/Annif/issues/111/comments","events_url":"https://api.github.com/repos/NatLibFi/Annif/issues/111/events","html_url":"https://github.com/NatLibFi/Annif/issues/111","id":320183073,"number":111,"title":"Initialize backends when starting WSGI server","user":{"login":"osma","id":1132830,"avatar_url":"https://avatars0.githubusercontent.com/u/1132830?v=4","gravatar_id":"","url":"https://api.github.com/users/osma","html_url":"https://github.com/osma","followers_url":"https://api.github.com/users/osma/followers","following_url":"https://api.github.com/users/osma/following{/other_user}","gists_url":"https://api.github.com/users/osma/gists{/gist_id}","starred_url":"https://api.github.com/users/osma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osma/subscriptions","organizations_url":"https://api.github.com/users/osma/orgs","repos_url":"https://api.github.com/users/osma/repos","events_url":"https://api.github.com/users/osma/events{/privacy}","received_events_url":"https://api.github.com/users/osma/received_events","type":"User","site_admin":false},"labels":[{"id":673133929,"url":"https://api.github.com/repos/NatLibFi/Annif/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/NatLibFi/Annif/milestones/27","html_url":"https://github.com/NatLibFi/Annif/milestone/27","labels_url":"https://api.github.com/repos/NatLibFi/Annif/milestones/27/labels","id":3333438,"number":27,"title":"v0.25","description":"better wsgi init","creator":{"login":"osma","id":1132830,"avatar_url":"https://avatars0.githubusercontent.com/u/1132830?v=4","gravatar_id":"","url":"https://api.github.com/users/osma","html_url":"https://github.com/osma","followers_url":"https://api.github.com/users/osma/followers","following_url":"https://api.github.com/users/osma/following{/other_user}","gists_url":"https://api.github.com/users/osma/gists{/gist_id}","starred_url":"https://api.github.com/users/osma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osma/subscriptions","organizations_url":"https://api.github.com/users/osma/orgs","repos_url":"https://api.github.com/users/osma/repos","events_url":"https://api.github.com/users/osma/events{/privacy}","received_events_url":"https://api.github.com/users/osma/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":2,"state":"open","created_at":"2018-05-09T15:01:24Z","updated_at":"2018-05-09T15:55:31Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2018-05-04T07:55:43Z","updated_at":"2018-05-09T15:55:31Z","closed_at":"2018-05-09T15:55:31Z","author_association":"OWNER","body":"Currently backends are initialized lazily. Models are only loaded when the first request comes in. This is good for development as it avoids unnecessary delays, but bad for production setups where the first request to come in after the service has started may take a very long time to process.\r\n\r\nShould initialize the models when the WSGI service starts up, at least in when not in debug/development mode."}}
{"actor":{"display_login":"osma"}}