Skip to content

Commit

Permalink
fix: make sure tokio runs on a single thread
Browse files Browse the repository at this point in the history
  • Loading branch information
BobrImperator committed Oct 21, 2024
1 parent 07151a9 commit 1606e84
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "this-week-in-open-source"
version = "0.8.1"
version = "0.8.2"
edition = "2021"
rust-version = "1.72"

Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ async fn fetch_data(
Ok((labels.clone().to_vec(), unknown_items, markdown_definitions))
}

#[tokio::main]
#[tokio::main(flavor = "current_thread")]
async fn main() -> octocrab::Result<()> {
println!("Using this-week-in-open-source v{}", VERSION);
println!("");
Expand Down

0 comments on commit 1606e84

Please sign in to comment.