Change flush resolution to milliseconds