feat: add APP_DEFAULT_ACTIVE_REQUESTS as the default value for APP_AC… (#26930)
This commit is contained in:
@@ -175,6 +175,7 @@ MAX_VARIABLE_SIZE=204800
|
||||
|
||||
# App configuration
|
||||
APP_MAX_EXECUTION_TIME=1200
|
||||
APP_DEFAULT_ACTIVE_REQUESTS=0
|
||||
APP_MAX_ACTIVE_REQUESTS=0
|
||||
|
||||
# Celery beat configuration
|
||||
|
||||
@@ -82,6 +82,7 @@ class TestAppGenerateService:
|
||||
# Setup dify_config mock returns
|
||||
mock_dify_config.BILLING_ENABLED = False
|
||||
mock_dify_config.APP_MAX_ACTIVE_REQUESTS = 100
|
||||
mock_dify_config.APP_DEFAULT_ACTIVE_REQUESTS = 100
|
||||
mock_dify_config.APP_DAILY_RATE_LIMIT = 1000
|
||||
|
||||
mock_global_dify_config.BILLING_ENABLED = False
|
||||
|
||||
Reference in New Issue
Block a user