Skip to content

Commit dfa184c

Browse files
committed
fix
1 parent 5671c45 commit dfa184c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ name = "perf"
3939
harness = false
4040

4141
[features]
42-
default = ["batching", "retry"]
42+
default = []
4343
affinity = ["dep:core_affinity"]
4444
batching = []
4545
retry = []

src/hive/inner/queue/channel.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ impl<W: Worker> LocalQueueShared<W> {
237237
// fall back to requesting a task from the global queue
238238
#[cfg(not(feature = "batching"))]
239239
{
240-
self.global.try_pop()
240+
global.try_pop()
241241
}
242242
}
243243

0 commit comments

Comments
 (0)