Defer writing to the database until we are idle, use bulk transactions
Defer writing to the database until we are idle, use bulk transactions

paulcbetts/trickline,paulcbetts/trickline,paulcbetts/trickline,paulcbetts/trickline