fix: allow longer s3 uploads for canvas results

This commit is contained in:
134 2026-07-07 21:49:10 +08:00
parent 15fc9ebea9
commit f46c0b192d

View File

@ -45,7 +45,7 @@ export type StorageUploadFunction = (
let lastKnownGoodDbS3Config: S3UploadConfig | null = null;
const STORAGE_FAILOVER_CONFIG_KEY = "storage_failover_config";
const DEFAULT_S3_REQUEST_TIMEOUT_MS = 90_000;
const DEFAULT_S3_REQUEST_TIMEOUT_MS = 180_000;
function getStorageTimeoutMs(name: string, fallback: number, min: number, max: number) {
const parsed = Number(process.env[name]);