Logging threads are not killed when node dies
メンテナーはふだん 2 日以内に返信
@mgmeier がすでに取り組んでいます。
2025年11月25日 から。
評価
この issue はまだ評価されていません。
説明
The following two threads are not shutdown when the node dies:
Note that link only makes sure that if the created thread fails the main thread will receive an async exception, but it does not the other way around. Instead using async and link combination, one should use withAsync and write both function using the with... pattern:
withResourceTracer :: Tracer IO RessourceStats
-> Int
-> (Async a -> IO ())
-> IO ()
withResournceTracer tr delayMilliseconds k = do
withAsync resourceThread k
where
...
The caller (e.g. the conitnuation k) ought to be responsible for makeing sure that the started thread fails the main thread will terminate. This is usually done with something like wait.
- 主要言語
- Haskell
- スター
- 3.2k
- フォーク
- 763
- 平均マージ
- 3日 2時間
- マージ済み PR(30日)
- 22
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
IntersectMBO/cardano-node のほかの issue
-
Stale
難易度 1/5 1〜3時間 初心者へのやさしさ 75/100
IntersectMBO/cardano-node#6597 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
IntersectMBO/cardano-node#6522 · コメント 3 件 ·
メンテナーはふだん 2 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
IntersectMBO/cardano-node#6755 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
Dijkstra PV12 needs triage type: regression
難易度 5/5 1週間以上 初心者へのやさしさ 12/100
IntersectMBO/cardano-node#6748 ·
メンテナーはふだん 2 日以内に返信
-
[cardano-testnet] Enhancements for status command対応中かも @palas が 6 日前に担当しました。 オープン
IntersectMBO/cardano-node#6747 · 担当者 1 名 ·
メンテナーはふだん 2 日以内に返信
IntersectMBO/cardano-node の issue をすべて見る
似ている issue
-
Web.Scotty.Trans.Lazy.setHeader calls addHeader instead of setHeader対応中かも @tusharad が 1 日前に担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
scotty-web/scotty#436 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
input-output-hk/haskell.nix#2617 ·
-
easy first-contributor first-contributors good first issue haskell help wanted up-for-grabs
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
fork-commit-merge/fork-commit-merge#8455 ·
メンテナーはふだん 1 日以内に返信
-
new tool
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
dense-analysis/ale#5176 ·
-
infrastructure
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
alunduil/siren-json.hs#278 ·
メンテナーはふだん 1 日以内に返信