Refa: refine retry gap. (#8773)

### What problem does this PR solve?

### Type of change

- [x] Refactoring
- [x] Performance Improvement
This commit is contained in:
Kevin Hu
2025-07-10 14:28:57 +08:00
committed by GitHub
parent 9f94d88acd
commit 8281ceb406

View File

@ -73,7 +73,7 @@ class Base(ABC):
def _get_delay(self): def _get_delay(self):
"""Calculate retry delay time""" """Calculate retry delay time"""
return self.base_delay + random.uniform(0, 0.5) return self.base_delay + random.uniform(10, 150)
def _classify_error(self, error): def _classify_error(self, error):
"""Classify error based on error message content""" """Classify error based on error message content"""