set flush_interval in example.conf