mirror of
https://github.com/ii64/gouring.git
synced 2025-04-26 05:42:48 +02:00
fix: SQThread option should add IORING_SETUP_SQPOLL
Signed-off-by: Nugraha <26342994+ii64@users.noreply.github.com>
This commit is contained in:
parent
04750112b3
commit
6140a6ea1d
1 changed files with 1 additions and 0 deletions
|
@ -8,5 +8,6 @@ func SQThread(cpu, idleMS uint32) Option {
|
|||
return func(p *IOUringParams) {
|
||||
p.SQThreadCPU = cpu
|
||||
p.SQThreadIdle = idleMS
|
||||
p.Flags |= IORING_SETUP_SQPOLL
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue