We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5671c45 commit dfa184cCopy full SHA for dfa184c
Cargo.toml
@@ -39,7 +39,7 @@ name = "perf"
39
harness = false
40
41
[features]
42
-default = ["batching", "retry"]
+default = []
43
affinity = ["dep:core_affinity"]
44
batching = []
45
retry = []
src/hive/inner/queue/channel.rs
@@ -237,7 +237,7 @@ impl<W: Worker> LocalQueueShared<W> {
237
// fall back to requesting a task from the global queue
238
#[cfg(not(feature = "batching"))]
239
{
240
- self.global.try_pop()
+ global.try_pop()
241
}
242
243
0 commit comments