Commit 4f7f6c4
Silence retryable SQLite lock errors from docket.worker logger
The existing fix in PR #18957 only filtered SQLite lock errors from the
uvicorn.error logger. However, when using flow.serve() with SQLite,
background tasks like mark_deployments_ready run through docket and log
errors through the docket.worker logger, which was not covered.
This change extends the SQLite lock log filter to also filter the
docket.worker logger, silencing the noisy but harmless 'database is locked'
errors that users see during onboarding.
Closes #19771
Co-Authored-By: Nate Nowack <[email protected]>1 parent e0efe42 commit 4f7f6c4
File tree
2 files changed
+21
-2
lines changed- src/prefect/server/api
- tests/server/api
2 files changed
+21
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| 159 | + | |
159 | 160 | | |
160 | 161 | | |
161 | 162 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
| 115 | + | |
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | | - | |
| 121 | + | |
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
| |||
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
181 | 199 | | |
182 | 200 | | |
183 | 201 | | |
| |||
0 commit comments