Change flush resolution to milliseconds

nit: missing newline at then of file