mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-06 16:07:01 +08:00
fix
This commit is contained in:
@@ -267,7 +267,7 @@ class TransferChain(ChainBase, metaclass=Singleton):
|
|||||||
_transfer_thread = None
|
_transfer_thread = None
|
||||||
|
|
||||||
# 文件整理检查间隔(秒)
|
# 文件整理检查间隔(秒)
|
||||||
_transfer_interval = 0
|
_transfer_interval = 10
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super().__init__()
|
super().__init__()
|
||||||
@@ -421,7 +421,7 @@ class TransferChain(ChainBase, metaclass=Singleton):
|
|||||||
# 失败数量
|
# 失败数量
|
||||||
fail_num = 0
|
fail_num = 0
|
||||||
|
|
||||||
while not global_vars.is_system_stopped and self._transfer_interval:
|
while not global_vars.is_system_stopped:
|
||||||
try:
|
try:
|
||||||
item: TransferQueue = self._queue.get(timeout=self._transfer_interval)
|
item: TransferQueue = self._queue.get(timeout=self._transfer_interval)
|
||||||
if item:
|
if item:
|
||||||
|
|||||||
Reference in New Issue
Block a user