启用数据库预加载器,清理日志
This commit is contained in:
@@ -112,9 +112,6 @@ def start_tracemalloc(max_frames: int = 25) -> None:
|
||||
"""
|
||||
if not tracemalloc.is_tracing():
|
||||
tracemalloc.start(max_frames)
|
||||
logger.info("tracemalloc started with max_frames=%s", max_frames)
|
||||
else:
|
||||
logger.info("tracemalloc already started")
|
||||
|
||||
|
||||
def stop_tracemalloc() -> None:
|
||||
|
||||
Reference in New Issue
Block a user