Commit c553a2c
committed
fix(lock): skip .dolt-data, .dolt-backup, .git in FindAllLocks walk
filepath.Walk over the entire town root takes 2+ minutes on Docker bind
mounts (macOS VirtioFS) due to 180k+ files in Dolt storage and git
objects. Skip these directories since they never contain agent locks.
Co-Authored-By: Claude1 parent 93e5d25 commit c553a2c
1 file changed
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
223 | | - | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
224 | 226 | | |
225 | 227 | | |
226 | 228 | | |
227 | 229 | | |
228 | 230 | | |
229 | 231 | | |
230 | | - | |
| 232 | + | |
231 | 233 | | |
232 | 234 | | |
| 235 | + | |
233 | 236 | | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
234 | 241 | | |
235 | 242 | | |
236 | 243 | | |
| |||
0 commit comments