chore: fix lint errors — noBannedTypes, import ordering, formatting
Deploy FileDrop / deploy (push) Successful in 42s

- Replace unsafe 'Function' type in test with ITelegramService interface
- Biome auto-fix formatting and import sorting across 8 files

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Claude
2026-07-29 07:30:31 +07:00
parent ea87397801
commit f5d56f52d4
9 changed files with 248 additions and 242 deletions
+8 -5
View File
@@ -205,11 +205,14 @@ export class BotPool implements ITelegramService {
if (attempt <= MAX_TRANSIENT_RETRIES && isTransientError(error)) {
const backoffMs = Math.min(1000 * 2 ** attempt, 10_000);
logger.warn(`Transient error forwarding file, retrying (${attempt}/${MAX_TRANSIENT_RETRIES})`, {
fileName,
error: errorStr,
backoffMs,
});
logger.warn(
`Transient error forwarding file, retrying (${attempt}/${MAX_TRANSIENT_RETRIES})`,
{
fileName,
error: errorStr,
backoffMs,
},
);
await sleep(backoffMs);
continue;
}