Toggle navigation
Toggle navigation
This project
Loading...
Sign in
万朱浩
/
Venue-Ops
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
666ghj
2025-11-11 11:49:14 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
3a96bd4186b7d21b898c43788e2552b7448e2404
3a96bd41
1 parent
79e71234
Hotfix: Increase forum timeout to better accommodate existing system stability.
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
ForumEngine/monitor.py
ForumEngine/monitor.py
View file @
3a96bd4
...
...
@@ -677,7 +677,7 @@ class LogMonitor:
elif
not
any_growth
and
not
captured_any
:
# 没有增长也没有捕获内容,增加非活跃计数
self
.
search_inactive_count
+=
1
if
self
.
search_inactive_count
>=
900
:
# 15分钟无活动才
结束
if
self
.
search_inactive_count
>=
7200
:
# 超时无活动自动
结束
logger
.
info
(
"ForumEngine: 长时间无活动,结束论坛"
)
self
.
is_searching
=
False
self
.
search_inactive_count
=
0
...
...
Please
register
or
login
to post a comment