{"push_id":761876739,"size":2,"distinct_size":1,"ref":"refs/heads/master","head":"80e6e3df695f972c00e99674ec842edae76ece4d","before":"0cee7a16b3e461250f97f851d747966b101f05b9","commits":[{"sha":"d2187f9511c6ecb745497bd9d79b7c57dcd81311","author":{"email":"9c380d388050cdb31e87cd3869c5eb2cbeac4079@gmail.com","name":"Paul Bowsher"},"message":"Avoid mongo cursor timeout in query\n\nMongo fetches records for this query in batches of 1000. The script\ntakes over 10 minutes to publish each batch on preview, which means the\ncursor has timed out by the time it goes to fetch the next batch. To\nwork around this, we fetch them all in advance and iterate over the\narray. This fits in under 400MB of RAM and avoids the timeout issue","distinct":false,"url":"https://api.github.com/repos/alphagov/panopticon/commits/d2187f9511c6ecb745497bd9d79b7c57dcd81311"},{"sha":"80e6e3df695f972c00e99674ec842edae76ece4d","author":{"email":"e8256d76b6424dd884533102d9f3b45418744c05@gmail.com","name":"Jamie Cobbett"},"message":"Merge pull request #287 from alphagov/avoid-mongo-cursor-timeout\n\nAvoid mongo cursor timeout in query","distinct":true,"url":"https://api.github.com/repos/alphagov/panopticon/commits/80e6e3df695f972c00e99674ec842edae76ece4d"}]}