mirror of
https://github.com/langgenius/dify.git
synced 2026-06-26 23:01:11 +08:00
NotionExtractor's five httpx calls (database query, block children, block read, table rows, last-edited-time) were made without a timeout, so a slow or unresponsive Notion endpoint could hang document import/sync indefinitely and tie up a worker. Add a module-level NOTION_REQUEST_TIMEOUT and pass it to each call, matching the bounded-timeout pattern recently applied to the Nacos and Marketplace HTTP clients. Signed-off-by: Yufeng He <40085740+he-yufeng@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| fixtures/workflow | ||
| helpers | ||
| integration_tests | ||
| test_containers_integration_tests | ||
| unit_tests | ||
| __init__.py | ||
| conftest.py | ||
| pytest_dify.py | ||
| seed_legacy_model_type_dirty_data.py | ||
| workflow_test_utils.py | ||