aggressive static method

RetryConfig aggressive()

预定义配置:激进重试(快速重试,适合瞬时故障)

Implementation

static RetryConfig aggressive() {
  return RetryConfig(
    strategy: RetryStrategy.exponential,
    maxAttempts: 5,
    initialDelay: const Duration(milliseconds: 500),
    maxDelay: const Duration(seconds: 10),
    enableJitter: true,
  );
}