{"action":"created","issue":{"url":"https://api.github.com/repos/bordoni/fakerpress/issues/53","labels_url":"https://api.github.com/repos/bordoni/fakerpress/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/bordoni/fakerpress/issues/53/comments","events_url":"https://api.github.com/repos/bordoni/fakerpress/issues/53/events","html_url":"https://github.com/bordoni/fakerpress/issues/53","id":73369559,"number":53,"title":"Use batches of AJAX requests when generating data","user":{"login":"fjarrett","id":522158,"avatar_url":"https://avatars.githubusercontent.com/u/522158?v=3","gravatar_id":"","url":"https://api.github.com/users/fjarrett","html_url":"https://github.com/fjarrett","followers_url":"https://api.github.com/users/fjarrett/followers","following_url":"https://api.github.com/users/fjarrett/following{/other_user}","gists_url":"https://api.github.com/users/fjarrett/gists{/gist_id}","starred_url":"https://api.github.com/users/fjarrett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fjarrett/subscriptions","organizations_url":"https://api.github.com/users/fjarrett/orgs","repos_url":"https://api.github.com/users/fjarrett/repos","events_url":"https://api.github.com/users/fjarrett/events{/privacy}","received_events_url":"https://api.github.com/users/fjarrett/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bordoni/fakerpress/labels/status:confirmed","name":"status:confirmed","color":"69AF71"},{"url":"https://api.github.com/repos/bordoni/fakerpress/labels/type:feature","name":"type:feature","color":"1BB0CE"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-05T17:00:40Z","updated_at":"2015-05-05T17:38:22Z","closed_at":null,"body":"I think the data should be generated in a batch of AJAX requests with something like ~100 fake items for each request. This will avoid getting max execution time fatal errors for very large generations.\r\n\r\n```\r\nFatal error: Maximum execution time of 30 seconds exceeded in /srv/www/wordpress-trunk/wp-includes/formatting.php on line 1764\r\n```\r\n\r\nThis method would also then allow for a nifty progress bar in the UI so you could see how the data generation process is coming along :smiley: \r\n\r\n/cc @bordoni "},"comment":{"url":"https://api.github.com/repos/bordoni/fakerpress/issues/comments/99154648","html_url":"https://github.com/bordoni/fakerpress/issues/53#issuecomment-99154648","issue_url":"https://api.github.com/repos/bordoni/fakerpress/issues/53","id":99154648,"user":{"login":"fjarrett","id":522158,"avatar_url":"https://avatars.githubusercontent.com/u/522158?v=3","gravatar_id":"","url":"https://api.github.com/users/fjarrett","html_url":"https://github.com/fjarrett","followers_url":"https://api.github.com/users/fjarrett/followers","following_url":"https://api.github.com/users/fjarrett/following{/other_user}","gists_url":"https://api.github.com/users/fjarrett/gists{/gist_id}","starred_url":"https://api.github.com/users/fjarrett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fjarrett/subscriptions","organizations_url":"https://api.github.com/users/fjarrett/orgs","repos_url":"https://api.github.com/users/fjarrett/repos","events_url":"https://api.github.com/users/fjarrett/events{/privacy}","received_events_url":"https://api.github.com/users/fjarrett/received_events","type":"User","site_admin":false},"created_at":"2015-05-05T17:38:22Z","updated_at":"2015-05-05T17:38:22Z","body":"@bordoni Awesome! /five!"}}