mirror of https://github.com/fafhrd91/actix-net
fix comma not formatted
This commit is contained in:
parent
6a1d254931
commit
bf8debe475
|
@ -391,7 +391,7 @@ impl ServerWorker {
|
||||||
{
|
{
|
||||||
// passing `max_blocking_threads` as submission queue & completion queue
|
// passing `max_blocking_threads` as submission queue & completion queue
|
||||||
// should be useful than let it sit here
|
// should be useful than let it sit here
|
||||||
let queue_size = config.max_blocking_threads.clamp(1,u32::MAX as usize) as u32;
|
let queue_size = config.max_blocking_threads.clamp(1, u32::MAX as usize) as u32;
|
||||||
let mut builder = tokio_uring::builder();
|
let mut builder = tokio_uring::builder();
|
||||||
builder.entries(queue_size);
|
builder.entries(queue_size);
|
||||||
builder.start(worker_fut);
|
builder.start(worker_fut);
|
||||||
|
|
Loading…
Reference in New Issue