Tweak IDB write queue

For tweaking the queue flushing, used in **nightly**