Fix stuck backfill when scheduled work queue is at capacity (#5575)

* Fix stuck backfill and add regression test.

* Remove unnecessary `yield_now`

* Merge branch 'unstable' into fix-stuck-backfill

* Revert previous change and add extra comment.

* Merge branch 'unstable' into fix-stuck-backfill

* Update tests to use configured event schedule instead of hard coded values.

* Merge branch 'unstable' of https://github.com/sigp/lighthouse into fix-stuck-backfill
This commit is contained in:
Jimmy Chen
2024-04-23 02:06:46 +10:00
committed by GitHub
parent f7aca97a55
commit 532206e008
4 changed files with 142 additions and 34 deletions

View File

@@ -23,4 +23,7 @@ lazy_static = { workspace = true }
lighthouse_metrics = { workspace = true }
parking_lot = { workspace = true }
num_cpus = { workspace = true }
serde = { workspace = true }
serde = { workspace = true }
[dev-dependencies]
tokio = { workspace = true, features = ["test-util"] }