Terry Cheng
@terrychengtw
Taipei · UTC+8
主題Theme
語言Lang
按 D 切換主題 · L 切換語言press D for theme · L for language
← 回首頁 ← Back to index
2025·10·18 筆記 Note 4 min · systems

關於 timeout 的小筆記

最近才想清楚:client timeout、server timeout、context timeout 三者該怎麼配合。

短筆記。

規則

  • 每一層的 timeout 都要比上游
  • context timeout 是最內層,其他層 timeout 是保險絲
  • 沒有任何一層是 “infinity”——預設就是炸的根源
一次寫一點 慢慢累積 one thought at a time slowly