Commit 3211c68
Control preheating scheduler concurrency (#829)
* Control preheating scheduler concurrency
Co-authored-by: Colin <Colin_XKL@outlook.com>
* Discard stale preheating queue entries
Co-authored-by: Colin <Colin_XKL@outlook.com>
* Add timeouts to preheating tasks
Co-authored-by: Colin <Colin_XKL@outlook.com>
* Inline default preheating jitter
Co-authored-by: Colin <Colin_XKL@outlook.com>
* Prevent preheating queue backpressure leaks
Co-authored-by: Colin <Colin_XKL@outlook.com>
* Cover preheating queue ordering and cleanup
Co-authored-by: Colin <Colin_XKL@outlook.com>
* Add preheating scheduler lifecycle
Co-authored-by: Colin <Colin_XKL@outlook.com>
* Make scheduler shutdown nonblocking
Co-authored-by: Colin <Colin_XKL@outlook.com>
* Order scheduler shutdown before observability
Co-authored-by: Colin <Colin_XKL@outlook.com>
* Document advanced preheating settings
Co-authored-by: Colin <Colin_XKL@outlook.com>
---------
Co-authored-by: Cursor Agent <cursoragent@cursor.com>1 parent b83c36a commit 3211c68
6 files changed
Lines changed: 835 additions & 44 deletions
File tree
- cmd
- doc-site/src/content/docs
- en/guides/advanced
- zh-tw/guides/advanced
- zh/guides/advanced
- internal/util
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
153 | 157 | | |
154 | 158 | | |
155 | 159 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
78 | 81 | | |
79 | 82 | | |
80 | 83 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
78 | 81 | | |
79 | 82 | | |
80 | 83 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
78 | 81 | | |
79 | 82 | | |
80 | 83 | | |
| |||
0 commit comments