From a1fea3485919043fd5c5f53992af740569ad9c92 Mon Sep 17 00:00:00 2001 From: lixiaoyong1 Date: Fri, 1 Mar 2024 18:03:00 +0800 Subject: [PATCH] Add thread pool to function __get_free_info --- category/get_memory_info.py | 1 + 1 file changed, 1 insertion(+) diff --git a/category/get_memory_info.py b/category/get_memory_info.py index 77c161b..6090adc 100644 --- a/category/get_memory_info.py +++ b/category/get_memory_info.py @@ -39,6 +39,7 @@ class MemInfo(): cmd_result = Command.cmd_run(dmidecode_command) return Command.cmd_output(cmd_name, cmd_result, self.__default_file_name, '=') + @GlobalCall.monitor_info_thread_pool.threaded_pool def __get_free_info(self,interval, times): ''' Get memory information -- Gitee