Skip to content

Commit

Permalink
fix(watcher): fix spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
amribm committed Sep 13, 2024
1 parent ae66312 commit 1802ece
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/config/watcher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ const CONFIG_WATCH_DELAY: std::time::Duration = std::time::Duration::from_secs(1
const RETRY_TIMEOUT: std::time::Duration = std::time::Duration::from_secs(10);

pub enum WatcherConfig {
/// recommended watcher for os, usally inotify for linux based systems
/// recommended watcher for os, usually inotify for linux based systems
RecommendedWatcher,
/// poll based watcher. for watching files from NFS.
PollWatcher(u64),
}

enum Watcher {
/// recommended watcher for os, usally inotify for linux based systems
/// recommended watcher for os, usually inotify for linux based systems
RecommendedWatcher(RecommendedWatcher),
/// poll based watcher. for watching files from NFS.
PollWatcher(PollWatcher),
Expand Down

0 comments on commit 1802ece

Please sign in to comment.