mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-19 23:05:51 +00:00
style: 完成所有文件的lint
This commit is contained in:
@@ -539,10 +539,7 @@ export function getRetryDelay(
|
||||
}
|
||||
}
|
||||
|
||||
const baseDelay = Math.min(
|
||||
BASE_DELAY_MS * 2 ** (attempt - 1),
|
||||
maxDelayMs,
|
||||
)
|
||||
const baseDelay = Math.min(BASE_DELAY_MS * 2 ** (attempt - 1), maxDelayMs)
|
||||
const jitter = Math.random() * 0.25 * baseDelay
|
||||
return baseDelay + jitter
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user