Skip to content

Commit 880d4d1

Browse files
committed
experiment: use current-thread tokio runtime
1 parent 4470687 commit 880d4d1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ struct SearchRequestOptions {
5454
no_personalized: bool,
5555
}
5656

57-
#[tokio::main]
57+
#[tokio::main(flavor = "current_thread")]
5858
async fn main() {
5959
if let Err(error) = run().await {
6060
eprintln!("{error}");

0 commit comments

Comments
 (0)