langgenius / langgenius/dify-sandbox
dify-sandbox0.2.12-How to disable pip's update check during code execution? The update check takes 20 seconds which is too slow
- Dominant language
- Go
- Stars
- 1.3k
- Forks
- 325
- Avg merge
- 56m
- Merged PRs (30d)
- 3
Description
将以上内容翻译成英文
[GIN] 2026/01/12 - 08:00:22 | 200 | 26.385µs | ::1 | GET "/health"
2026/01/12 08:00:27 server.go:80: [INFO] Updating Python dependencies...
[GIN] 2026/01/12 - 08:00:32 | 200 | 25.903µs | ::1 | GET "/health"
[GIN] 2026/01/12 - 08:00:42 | 200 | 22.9µs | ::1 | GET "/health"
2026/01/12 08:00:47 server.go:89: [INFO] Python dependencies updated successfully.
[GIN] 2026/01/12 - 08:00:52 | 200 | 22.667µs | ::1 | GET "/health"
Regarding the question about dify-sandbox version 0.2.12:
How to disable pip's update check during code execution? The update check takes 20 seconds which is too slow, I hope to speed up code execution.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by inspecting server.go around lines 80-89 and reproduce the reported delay using the /health requests and Python dependency update logs. Determine where the pip update check is triggered during code execution; done means the unnecessary 20-second wait is disabled or otherwise resolved, with the relevant behavior verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, python
- Domain
- backend, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100