mirror of
https://github.com/watchexec/watchexec.git
synced 2024-11-14 00:01:12 +01:00
Update to async-priority-channel 0.2.0 (#761)
This commit is contained in:
parent
682a9b4d21
commit
217f57f6a2
3 changed files with 5 additions and 5 deletions
6
Cargo.lock
generated
6
Cargo.lock
generated
|
@ -230,11 +230,11 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "async-priority-channel"
|
||||
version = "0.1.0"
|
||||
version = "0.2.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "c21678992e1b21bebfe2bc53ab5f5f68c106eddab31b24e0bb06e9b715a86640"
|
||||
checksum = "acde96f444d31031f760c5c43dc786b97d3e1cb2ee49dd06898383fe9a999758"
|
||||
dependencies = [
|
||||
"event-listener 2.5.3",
|
||||
"event-listener 4.0.1",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
|
|
@ -16,7 +16,7 @@ rust-version = "1.61.0"
|
|||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
async-priority-channel = "0.1.0"
|
||||
async-priority-channel = "0.2.0"
|
||||
async-recursion = "1.0.5"
|
||||
atomic-take = "1.0.0"
|
||||
futures = "0.3.29"
|
||||
|
|
|
@ -140,7 +140,7 @@ impl Watchexec {
|
|||
let notify = Arc::new(Notify::new());
|
||||
let start_lock = notify.clone();
|
||||
|
||||
let (ev_s, ev_r) = priority::bounded(config.event_channel_size);
|
||||
let (ev_s, ev_r) = priority::bounded(config.event_channel_size.try_into().unwrap_or(u64::MAX));
|
||||
let event_input = ev_s.clone();
|
||||
|
||||
trace!("creating main task");
|
||||
|
|
Loading…
Reference in a new issue