//#region extensions/feishu/src/transport/socket-mode/retry.ts
function computeBackoffMs(attempt) {
	const base = 500 * 2 ** (Math.max(1, Math.min(attempt, 10)) - 1);
	const jitter = Math.floor(Math.random() * 250);
	return Math.min(3e4, base + jitter);
}
//#endregion
export { computeBackoffMs };

//# sourceMappingURL=retry.js.map