Change commitWithin to 6000ms to further improve performance.