Skip to content

Commit bbc425e

Browse files
committed
add comment about registry watcher only being run once
1 parent ec3d21c commit bbc425e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/utils/daemon.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ use std::sync::Arc;
1212
use std::thread;
1313
use std::time::{Duration, Instant};
1414

15+
/// Run the registry watcher
16+
/// NOTE: this should only be run once, otherwise crates would be added
17+
/// to the queue multiple times.
1518
pub fn watch_registry(
1619
build_queue: Arc<BuildQueue>,
1720
config: Arc<Config>,

0 commit comments

Comments
 (0)