대시보드 기능 추가
This commit is contained in:
1 parent
1398546dac
commit
b0cebb97ef
22 files changed
+2700
-1
No files matched your search
@@ -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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user