pub fn set_sync_window(duration: FancyDuration<Duration>) -> Result<(), Error>