[PR #6585] feat: support max_retries in jina requests #25345

Closed
opened 2026-02-21 20:24:45 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/langgenius/dify/pull/6585

State: closed
Merged: Yes


Checklist:

Important

Please review the checklist below before submitting your pull request.

  • Please open an issue before creating a PR or link to an existing issue
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I ran dev/reformat(backend) and cd web && npx lint-staged(frontend) to appease the lint gods

Description

support max_retries in jina requests

Fixes #6587

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update, included: Dify Document
  • Improvement, including but not limited to code refactoring, performance optimization, and UI/UX improvement
  • Dependency upgrade

Testing Instructions

  1. Increase max_retries to a larger number, such as 20 times
    截屏2024-07-23 17 53 26

  2. Change the restart policy of docker-ssrf_proxy-1 to unless-stopped.

  3. Stop docker-ssrf_proxy-1.

  4. Visit r.jina.ai for testing.

  5. Start docker-ssrf_proxy-1.
    截屏2024-07-23 17 50 10

**Original Pull Request:** https://github.com/langgenius/dify/pull/6585 **State:** closed **Merged:** Yes --- # Checklist: > [!IMPORTANT] > Please review the checklist below before submitting your pull request. - [ ] Please open an issue before creating a PR or link to an existing issue - [x] I have performed a self-review of my own code - [x] I have commented my code, particularly in hard-to-understand areas - [x] I ran `dev/reformat`(backend) and `cd web && npx lint-staged`(frontend) to appease the lint gods # Description support max_retries in jina requests Fixes #6587 ## Type of Change - [ ] Bug fix (non-breaking change which fixes an issue) - [x] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] This change requires a documentation update, included: [Dify Document](https://github.com/langgenius/dify-docs) - [ ] Improvement, including but not limited to code refactoring, performance optimization, and UI/UX improvement - [ ] Dependency upgrade # Testing Instructions 1. Increase max_retries to a larger number, such as 20 times ![截屏2024-07-23 17 53 26](https://github.com/user-attachments/assets/6119e7ab-6dbf-4136-943b-d5708b72680b) 2. Change the restart policy of docker-ssrf_proxy-1 to unless-stopped. 3. Stop docker-ssrf_proxy-1. 4. Visit r.jina.ai for testing. 5. Start docker-ssrf_proxy-1. <img width="1267" alt="截屏2024-07-23 17 50 10" src="https://github.com/user-attachments/assets/83e64afe-d22d-4551-a366-1fda32313a8f">
yindo added the pull-request label 2026-02-21 20:24:45 -05:00
yindo closed this issue 2026-02-21 20:24:45 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#25345