Sync files after 2 seconds of inactivity, close after 2 minutes. Add 128k msgs channel buffer.