{"action":"closed","issue":{"url":"https://api.github.com/repos/wpdirectory/wpdir/issues/16","repository_url":"https://api.github.com/repos/wpdirectory/wpdir","labels_url":"https://api.github.com/repos/wpdirectory/wpdir/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/wpdirectory/wpdir/issues/16/comments","events_url":"https://api.github.com/repos/wpdirectory/wpdir/issues/16/events","html_url":"https://github.com/wpdirectory/wpdir/issues/16","id":346967800,"node_id":"MDU6SXNzdWUzNDY5Njc4MDA=","number":16,"title":"Delay after search finishes and data can be returned","user":{"login":"PeterBooker","id":1855507,"node_id":"MDQ6VXNlcjE4NTU1MDc=","avatar_url":"https://avatars3.githubusercontent.com/u/1855507?v=4","gravatar_id":"","url":"https://api.github.com/users/PeterBooker","html_url":"https://github.com/PeterBooker","followers_url":"https://api.github.com/users/PeterBooker/followers","following_url":"https://api.github.com/users/PeterBooker/following{/other_user}","gists_url":"https://api.github.com/users/PeterBooker/gists{/gist_id}","starred_url":"https://api.github.com/users/PeterBooker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeterBooker/subscriptions","organizations_url":"https://api.github.com/users/PeterBooker/orgs","repos_url":"https://api.github.com/users/PeterBooker/repos","events_url":"https://api.github.com/users/PeterBooker/events{/privacy}","received_events_url":"https://api.github.com/users/PeterBooker/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-02T11:17:16Z","updated_at":"2018-08-02T11:17:47Z","closed_at":"2018-08-02T11:17:47Z","author_association":"CONTRIBUTOR","body":"Currently, if a search with a large number of matches (> 5000) finishes, there is a long delay before it is committed to the DB and available via the API. This is because it takes a long time to Marshal and then save the matches to the DB, one at a time.\r\n\r\nWe need to perform this in a boltdb transaction to speed the process up, reducing the delay as much as possible."}}
{"actor":{"display_login":"PeterBooker"}}