code_attribute/limit_up_time_manager.py
@@ -37,9 +37,8 @@ if not cache_result[0] or cache_result[1] is None: global_util.limit_up_time[code] = time tool.CodeDataCacheUtil.set_cache(self.__limit_up_time_cache, code, time) # TODO 测试 # RedisUtils.setex_async( # self.__db, "limit_up_time-{}".format(code), tool.get_expire(), time) RedisUtils.setex_async( self.__db, "limit_up_time-{}".format(code), tool.get_expire(), time) def get_limit_up_time(self, code): time = global_util.limit_up_time.get(code)