mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-17 18:01:26 +08:00
rft: 任务执行期间Log Rotate增加检查,并上调阈值至64MiB (#11670)
* fix: Log Rotate在任务执行期间不进行检查导致单体log文件过大 * fix: unsigned type * perf: 加锁 * perf: 加锁优化 * perf: 上调log单文件大小至64MiB * perf: 继续优化 * perf: 优化加锁 * fix: 64MB
This commit is contained in:
@@ -417,7 +417,7 @@ void Assistant::working_proc()
|
||||
finished_tasks.clear();
|
||||
m_thread_idle = true;
|
||||
m_running = false;
|
||||
Log.flush();
|
||||
Log.rotate_check();
|
||||
m_condvar.wait(lock);
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user