fix time search
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 2m16s

This commit is contained in:
zyc 2026-03-13 17:29:01 +08:00
parent 060d3a726f
commit 1f3a955bfb
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,6 @@
"""Volcano Engine TOS file upload utility using official TOS SDK.""" """Volcano Engine TOS file upload utility using official TOS SDK."""
import uuid import uuid
import tos
from django.conf import settings from django.conf import settings
@ -17,6 +16,7 @@ _client = None
def get_tos_client(): def get_tos_client():
import tos
global _client global _client
if _client is None: if _client is None:
endpoint = settings.TOS_ENDPOINT.replace('https://', '').replace('http://', '') endpoint = settings.TOS_ENDPOINT.replace('https://', '').replace('http://', '')

View File

@ -81,7 +81,7 @@ function startPolling(taskId: string, frontendId: string) {
} catch { } catch {
// Silently continue polling on error // Silently continue polling on error
} }
}, 5000); }, 3 * 60 * 1000); // 3 minutes
pollTimers.set(frontendId, timer); pollTimers.set(frontendId, timer);
} }