대시보드 기능 추가

This commit is contained in:
skkim committed 2026-02-24 15:23:11 +09:00
1 parent 1398546dac
commit b0cebb97ef
22 files changed
+2700 -1

No files matched your search

+2
View File
@@ -18,6 +18,7 @@ from sqlalchemy import select
from sqlalchemy.exc import SQLAlchemyError
from config import social_upload_settings
from app.dashboard.tasks import insert_dashboard
from app.database.session import BackgroundSessionLocal
from app.social.constants import SocialPlatform, UploadStatus
from app.social.exceptions import TokenExpiredError, UploadError, UploadQuotaExceededError
@@ -318,6 +319,7 @@ async def process_social_upload(upload_id: int) -> None:
f"platform_video_id: {result.platform_video_id}, "
f"url: {result.platform_url}"
)
await insert_dashboard(upload_id)
else:
retry_count = await _increment_retry_count(upload_id)