Constant DEFAULT_LOCAL_FILE_TREE_MAX_WATCHERS

Source
pub const DEFAULT_LOCAL_FILE_TREE_MAX_WATCHERS: usize = 1_024;
Expand description

Default maximum number of simultaneously watched local directories: 1,024.

The limit is an item count and each watch is non-recursive. It bounds native watcher resources independently of the runtime request/response queues.

ยงExamples

use ailloli_ui_fs_local::DEFAULT_LOCAL_FILE_TREE_MAX_WATCHERS;
assert_eq!(DEFAULT_LOCAL_FILE_TREE_MAX_WATCHERS, 1_024);