Commit 6fd4106
perf: remove Daytona volumes to reduce agent initiation latency
The volume feature was adding significant latency (up to 60s polling wait)
during sandbox creation. Volumes were being used for npm/pnpm cache but
the latency trade-off wasn't worth it.
Changes:
- Remove VolumeMount import from sandbox.py
- Remove enable_cache_volumes parameter and volume setup code
- Remove enable_cache_volumes=True call from agent/api.py
- Delete volumes.py module entirely
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 612d468 commit 6fd4106
3 files changed
+1
-274
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1178 | 1178 | | |
1179 | 1179 | | |
1180 | 1180 | | |
1181 | | - | |
1182 | 1181 | | |
1183 | 1182 | | |
1184 | 1183 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
| |||
246 | 245 | | |
247 | 246 | | |
248 | 247 | | |
249 | | - | |
250 | 248 | | |
251 | 249 | | |
252 | 250 | | |
253 | 251 | | |
254 | 252 | | |
255 | 253 | | |
256 | | - | |
| 254 | + | |
257 | 255 | | |
258 | 256 | | |
259 | 257 | | |
260 | 258 | | |
261 | | - | |
262 | 259 | | |
263 | 260 | | |
264 | 261 | | |
| |||
297 | 294 | | |
298 | 295 | | |
299 | 296 | | |
300 | | - | |
301 | | - | |
302 | | - | |
303 | | - | |
304 | | - | |
305 | | - | |
306 | | - | |
307 | | - | |
308 | | - | |
309 | | - | |
310 | | - | |
311 | | - | |
312 | | - | |
313 | | - | |
314 | | - | |
315 | | - | |
316 | | - | |
317 | | - | |
318 | | - | |
319 | | - | |
320 | | - | |
321 | | - | |
322 | | - | |
323 | 297 | | |
324 | 298 | | |
325 | 299 | | |
326 | 300 | | |
327 | 301 | | |
328 | | - | |
329 | 302 | | |
330 | 303 | | |
331 | 304 | | |
| |||
This file was deleted.
0 commit comments