Setting flush duration in config