Only commit every N (default 12) seconds to reduce db load.