fix and improve hanging detection (vercel/turbo#2827)

Commit 1: It took me hours to figure out this unsafe problem...

Commit 2: updates tokio

Commit 3: improves hanging detection to allow to attach notes to event listeners
This commit is contained in:
Tobias Koppers 2022-11-29 03:03:35 +01:00 committed by GitHub
parent 1f38dcdf39
commit e489b1effe
3 changed files with 4 additions and 4 deletions

View file

@ -19,7 +19,7 @@ serde = "1.0.136"
serde_json = "1.0.85" serde_json = "1.0.85"
serde_qs = "0.10.1" serde_qs = "0.10.1"
sourcemap = "6.0.1" sourcemap = "6.0.1"
tokio = { version = "1.11.0", features = ["full"] } tokio = { version = "1.21.2", features = ["full"] }
turbo-tasks = { path = "../turbo-tasks" } turbo-tasks = { path = "../turbo-tasks" }
turbo-tasks-env = { path = "../turbo-tasks-env" } turbo-tasks-env = { path = "../turbo-tasks-env" }
turbo-tasks-fs = { path = "../turbo-tasks-fs" } turbo-tasks-fs = { path = "../turbo-tasks-fs" }

View file

@ -32,7 +32,7 @@ profile = []
[dependencies] [dependencies]
anyhow = "1.0.47" anyhow = "1.0.47"
clap = { version = "4.0.18", features = ["derive", "env"] } clap = { version = "4.0.18", features = ["derive", "env"] }
console-subscriber = { version = "0.1.6", optional = true } console-subscriber = { version = "0.1.8", optional = true }
futures = "0.3.21" futures = "0.3.21"
mime = "0.3.16" mime = "0.3.16"
next-core = { path = "../next-core" } next-core = { path = "../next-core" }
@ -40,7 +40,7 @@ owo-colors = "3"
portpicker = "0.1.1" portpicker = "0.1.1"
serde = "1.0.136" serde = "1.0.136"
serde_json = "1.0.85" serde_json = "1.0.85"
tokio = { version = "1.11.0", features = ["full"] } tokio = { version = "1.21.2", features = ["full"] }
turbo-malloc = { path = "../turbo-malloc" } turbo-malloc = { path = "../turbo-malloc" }
turbo-tasks = { path = "../turbo-tasks" } turbo-tasks = { path = "../turbo-tasks" }
turbo-tasks-fs = { path = "../turbo-tasks-fs" } turbo-tasks-fs = { path = "../turbo-tasks-fs" }