cafaeeb64e
hopefully this is much faster than the default behaviour which does 1 transaction per save(), so the database is not locked such a long time.