{"action":"opened","issue":{"url":"https://api.github.com/repos/Neamar/KISS/issues/900","repository_url":"https://api.github.com/repos/Neamar/KISS","labels_url":"https://api.github.com/repos/Neamar/KISS/issues/900/labels{/name}","comments_url":"https://api.github.com/repos/Neamar/KISS/issues/900/comments","events_url":"https://api.github.com/repos/Neamar/KISS/issues/900/events","html_url":"https://github.com/Neamar/KISS/issues/900","id":304203416,"number":900,"title":"Keep the DB open instead of reopening a connection all the time","user":{"login":"Neamar","id":536844,"avatar_url":"https://avatars0.githubusercontent.com/u/536844?v=4","gravatar_id":"","url":"https://api.github.com/users/Neamar","html_url":"https://github.com/Neamar","followers_url":"https://api.github.com/users/Neamar/followers","following_url":"https://api.github.com/users/Neamar/following{/other_user}","gists_url":"https://api.github.com/users/Neamar/gists{/gist_id}","starred_url":"https://api.github.com/users/Neamar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Neamar/subscriptions","organizations_url":"https://api.github.com/users/Neamar/orgs","repos_url":"https://api.github.com/users/Neamar/repos","events_url":"https://api.github.com/users/Neamar/events{/privacy}","received_events_url":"https://api.github.com/users/Neamar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-11T23:03:49Z","updated_at":"2018-03-11T23:03:49Z","closed_at":null,"author_association":"OWNER","body":"Here is a flamegraph of the search thread:\r\n\r\n![image](https://user-images.githubusercontent.com/536844/37259616-682ddf1e-2580-11e8-8703-98569687de49.png)\r\n\r\nA lot of time is spent opening the database every time. This could be cached and reused for better performance."}}
{"actor":{"display_login":"Neamar"}}