|
@@ -6,15 +6,16 @@ type DifySandboxGlobalConfigurations struct {
|
|
|
Debug bool `yaml:"debug"`
|
|
|
Key string `yaml:"key"`
|
|
|
} `yaml:"app"`
|
|
|
- MaxWorkers int `yaml:"max_workers"`
|
|
|
- MaxRequests int `yaml:"max_requests"`
|
|
|
- WorkerTimeout int `yaml:"worker_timeout"`
|
|
|
- PythonPath string `yaml:"python_path"`
|
|
|
- PythonLibPaths []string `yaml:"python_lib_path"`
|
|
|
- NodejsPath string `yaml:"nodejs_path"`
|
|
|
- EnableNetwork bool `yaml:"enable_network"`
|
|
|
- AllowedSyscalls []int `yaml:"allowed_syscalls"`
|
|
|
- Proxy struct {
|
|
|
+ MaxWorkers int `yaml:"max_workers"`
|
|
|
+ MaxRequests int `yaml:"max_requests"`
|
|
|
+ WorkerTimeout int `yaml:"worker_timeout"`
|
|
|
+ PythonPath string `yaml:"python_path"`
|
|
|
+ PythonLibPaths []string `yaml:"python_lib_path"`
|
|
|
+ PythonPipMirrorURL string `yaml:"python_pip_mirror_url"`
|
|
|
+ NodejsPath string `yaml:"nodejs_path"`
|
|
|
+ EnableNetwork bool `yaml:"enable_network"`
|
|
|
+ AllowedSyscalls []int `yaml:"allowed_syscalls"`
|
|
|
+ Proxy struct {
|
|
|
Socks5 string `yaml:"socks5"`
|
|
|
Https string `yaml:"https"`
|
|
|
Http string `yaml:"http"`
|