hubcio commented on issue #3047:
URL: https://github.com/apache/iggy/issues/3047#issuecomment-4153343445
this probably happens because we intentionally start `compio` proactor
limited to 0 threads (MacOS doesn't apply):
```rust
// Shard executors require IORING_SETUP_COOP_TASKRUN for predictable latency.
// Falling back to default flags would silently degrade shard performance -
// do not add a retry with reduced flags here.
pub fn create_shard_executor() -> Result<Runtime, std::io::Error> {
// TODO: The event interval tick, could be configured based on the fact
// How many clients we expect to have connected.
// This roughly estimates the number of tasks we will create.
let mut proactor = compio::driver::ProactorBuilder::new();
proactor
.capacity(4096)
.coop_taskrun(true)
.taskrun_flag(true);
// FIXME(hubcio): Only set thread_pool_limit(0) on non-macOS platforms
// This causes a freeze on macOS with compio fs operations
// see https://github.com/compio-rs/compio/issues/446
#[cfg(not(all(target_os = "macos", target_arch = "aarch64")))]
proactor.thread_pool_limit(0);
compio::runtime::RuntimeBuilder::new()
.with_proactor(proactor.to_owned())
.event_interval(128)
.build()
}
```
i'm closing this issue because we don't want to support windows. iggy is
designed and intended to run on Linux machines in mind. if you want to run it
on windows, use WSL.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]