Skip to content

Commit 4a313e1

Browse files
禁用杀进程优化内存功能,停用clean_application_cache函数
1 parent 8681564 commit 4a313e1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

clean.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def boost_main():
9999
clean_temp_folder()
100100
clean_system_logs()
101101
clean_browser_cache()
102-
kill_processes_by_memory_usage()
102+
#kill_processes_by_memory_usage()
103103

104104

105105
def clean_main():
@@ -148,7 +148,8 @@ def clean_main():
148148
print("系统日志清理失败")
149149
logger.error("系统日志清理失败.是我在捣鬼>_<")
150150
try:
151-
clean_application_cache()
151+
#clean_application_cache()
152+
print("应用程序缓存清理功能存在问题,已禁用")
152153
except Exception as e:
153154
print("应用程序缓存清理失败")
154155
logger.error("应用程序缓存清理失败.是我在捣鬼>_<")

0 commit comments

Comments
 (0)