Bumping version

This commit is contained in:
ForgQi committed 2024-04-07 22:13:08 +08:00
1 parent 1aa71b61e8
commit ac032ac878
2 files changed
+4 -1

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@ import logging
import platform
import sys
__version__ = "0.4.47"
__version__ = "0.4.48"
LOG_CONF = {
'version': 1,
+3
View File
@@ -43,6 +43,9 @@ def singleton_check(platform, name, url):
return
# 可能对同一个url同时发送两次上传事件
with NamedLock(f"upload_count_{url}"):
if context['url_upload_count'][url] > 0:
logger.debug(f'{url}正在上传中,跳过')
return
# from .handler import event_manager, UPLOAD
# += 不是原子操作
context['url_upload_count'][url] += 1