Skip to content

Commit

Permalink
stop please
Browse files Browse the repository at this point in the history
  • Loading branch information
ibc committed Aug 9, 2024
1 parent cc97c1a commit 53b68bc
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions rust/src/router/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@ async fn init() -> Worker {
let worker_manager = WorkerManager::new();

worker_manager
.create_worker(WorkerSettings::default())
.create_worker({
let mut settings = WorkerSettings::default();
settings.enable_liburing = false;

settings
})
.await
.expect("Failed to create worker")
}
Expand All @@ -28,12 +33,6 @@ fn worker_close_event() {

let router = worker
.create_router(RouterOptions::default())
.create_worker({
let mut settings = WorkerSettings::default();
settings.enable_liburing = false;

settings
})
.await
.expect("Failed to create router");

Expand Down

0 comments on commit 53b68bc

Please sign in to comment.