mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-07-22 20:36:08 +00:00
fix: main流程错误的等待时间
This commit is contained in:
@@ -100,7 +100,7 @@ def main(first_time_init=False):
|
|||||||
|
|
||||||
while True:
|
while True:
|
||||||
try:
|
try:
|
||||||
time.sleep(10000)
|
time.sleep(10)
|
||||||
if qqbot != pkg.utils.context.get_qqbot_manager(): # 已经reload了
|
if qqbot != pkg.utils.context.get_qqbot_manager(): # 已经reload了
|
||||||
logging.info("以前的main流程由于reload退出")
|
logging.info("以前的main流程由于reload退出")
|
||||||
break
|
break
|
||||||
|
|||||||
Reference in New Issue
Block a user