{"action":"opened","issue":{"url":"https://api.github.com/repos/rc0/mairix/issues/25","repository_url":"https://api.github.com/repos/rc0/mairix","labels_url":"https://api.github.com/repos/rc0/mairix/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/rc0/mairix/issues/25/comments","events_url":"https://api.github.com/repos/rc0/mairix/issues/25/events","html_url":"https://github.com/rc0/mairix/issues/25","id":173360885,"number":25,"title":"Don't lock database when updating it","user":{"login":"spwhitton","id":692648,"avatar_url":"https://avatars.githubusercontent.com/u/692648?v=3","gravatar_id":"","url":"https://api.github.com/users/spwhitton","html_url":"https://github.com/spwhitton","followers_url":"https://api.github.com/users/spwhitton/followers","following_url":"https://api.github.com/users/spwhitton/following{/other_user}","gists_url":"https://api.github.com/users/spwhitton/gists{/gist_id}","starred_url":"https://api.github.com/users/spwhitton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spwhitton/subscriptions","organizations_url":"https://api.github.com/users/spwhitton/orgs","repos_url":"https://api.github.com/users/spwhitton/repos","events_url":"https://api.github.com/users/spwhitton/events{/privacy}","received_events_url":"https://api.github.com/users/spwhitton/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-26T03:15:34Z","updated_at":"2016-08-26T03:15:34Z","closed_at":null,"body":"A Debian user [makes the following suggestion](https://bugs.debian.org/534473):\r\n\r\n    Since the db update will effectively replace the db when done, wouldn't \r\n    it make sense to copy the db to another file, do the update on that file \r\n    and then over-write the original file at the end of the process, thus \r\n    minimising the time the file needs to be locked?\r\n\r\nThe advantage of this is that it would permit using the old database while the update process is running."}}
{"actor":{"display_login":"spwhitton"}}