Skip to content

Commit b994c6f

Browse files
author
jianggang
committed
feat: add sync_once function
1 parent 7a8e98e commit b994c6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/feature_probe.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ impl FeatureProbe {
251251
}
252252

253253
#[cfg(all(feature = "use_tokio", feature = "realtime"))]
254-
pub fn sync_once(&self, t: SyncType) {
254+
pub fn sync_now(&self, t: SyncType) {
255255
trace!("sync now url {}", &self.config.toggles_url);
256256
let syncer = match &self.syncer {
257257
Some(syncer) => syncer.clone(),

0 commit comments

Comments
 (0)