c3b7b3ed0c
Merge remote-tracking branch 'upstream/main' into feat/human-input-merge-again
2026-01-28 16:21:37 +08:00
2db638b992
Add a configuration for controlling the redis instance / type used for streaming events between celery worker and api (vibe-kanban 08e07904)
...
Currently, the celery worker executing workflows / chatflows uses redis pubsub to publish events to api.
(See \_topic\_msg\_generator and \_publish\_streaming\_response)
The current implementation uses the default redis client.
For large scale deployment, we need to use a dedicated redis cluster to ensure performance.
To achieve this, you should:
1. introduce a dedicated configuration class to control
the redis address used for pubsub. (Ideally, there should only be one configuration item such as `pubsub_redis_url`, and its default value should be the original redis confugration.)
2. Add an option to switch between pubsub and sharded pubsub. When shared pubsub is specified, the ShardedRedisBroadcastChannel should be used instead.
COmplete the task above, add some unit tests.
2026-01-19 07:40:44 +08:00
93faa672cc
fix: add DB_TYPE environment variable to unit tests ( #30660 )
...
Co-authored-by: fghpdf <fghpdf@users.noreply.github.com >
2026-01-07 10:16:17 +08:00
885dff82e3
feat: update HTTP timeout configurations and enhance timeout input handling in UI ( #26685 )
2025-10-10 09:00:06 +08:00
4a475bf1cd
chore: Raise default string length limits ( #26592 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
Co-authored-by: Bowen Liang <liangbowen@gf.com.cn >
2025-10-06 10:40:13 +08:00
915023b809
Chore/remove add node restrict of workflow ( #26218 )
...
Co-authored-by: -LAN- <laipz8200@outlook.com >
2025-09-25 18:02:43 +08:00
5a0bf8e028
feat: make SQLALCHEMY_POOL_TIMEOUT configurable ( #25468 )
...
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-18 16:13:56 +08:00
7995ff1410
Typing test ( #24651 )
2025-08-28 09:36:39 +08:00
b5c2756261
fix(api):safe reset in db pool, avoid rollback in gevent callback ( #24556 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-26 18:14:06 +08:00
bbdeb15501
fix: Support URL-encoded passwords with special characters in CELERY_BROKER_URL ( #23163 )
...
Signed-off-by: Sn0rt <wangguohao.2009@gmail.com >
2025-07-30 16:39:54 +08:00
da53bf511f
chore: add SQLALCHEMY_POOL_USE_LIFO option and missing SQLALCHEMY_POOL_PRE_PING env default value. ( #22371 )
2025-07-15 19:46:48 +08:00
6663187eca
test:add unit test for api version config ( #21919 )
2025-07-04 15:33:20 +08:00
0fed5c1193
fix(config): Allow DB_EXTRAS to set search_path via options ( #19560 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-05-13 10:10:18 +08:00
b4064fa092
test(test_dify_config): Update test to use example environment file ( #19427 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-05-09 11:42:51 +08:00
8ac3a223a8
fix(api): add missing INNER_API_KEY to InnerAPIConfig ( #19166 )
2025-05-06 10:02:14 +08:00
dacd457478
feat: add workflow parallel depth limit configuration ( #11460 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
Co-authored-by: zxhlyh <jasonapring2015@outlook.com >
2024-12-20 14:52:20 +08:00
99f40a9682
feat: full support for opendal and sync configurations between .env and docker-compose ( #11754 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2024-12-18 09:05:54 +08:00
8d4bb9b40d
feat: integrate opendal storage ( #11508 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2024-12-11 14:50:54 +08:00
7ff42b1b7a
fix: unit tests env will need clear too ( #11445 )
...
Signed-off-by: yihong0618 <zouzou0208@gmail.com >
2024-12-09 09:04:11 +08:00
9b46b02717
refactor: assembling the app features in modular way ( #9129 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
Co-authored-by: -LAN- <laipz8200@outlook.com >
2024-11-30 23:05:22 +08:00
0c2a62f847
fix: correct http timeout configs‘ default values and ignorance by HttpRequestNode ( #7762 )
2024-08-30 19:09:10 +08:00
3f467613fc
feat: support configs for code execution request ( #7704 )
2024-08-27 19:38:33 +08:00
b035c02f78
chore(api/tests): apply ruff reformat #7590 ( #7591 )
...
Co-authored-by: -LAN- <laipz8200@outlook.com >
2024-08-23 23:52:25 +08:00
5e6fc58db3
Feat/environment variables in workflow ( #6515 )
...
Co-authored-by: JzoNg <jzongcode@gmail.com >
2024-07-22 15:29:39 +08:00
c436454cd4
fix(configs): Update pydantic settings in config files ( #6023 )
2024-07-07 12:18:15 +08:00
2a0f03a511
refactor: extract cors configs into dify config and cleanup the config class ( #5507 )
...
Co-authored-by: takatost <takatost@gmail.com >
2024-06-25 15:48:02 +08:00
f67b164b0d
refactor: extract db configs and celery configs into dify config ( #5491 )
2024-06-22 10:29:56 +08:00
8890978ad3
chore: use singular style in config class name ( #5489 )
2024-06-22 09:54:25 +08:00