diff --git a/app/service/utils/decorator.py b/app/service/utils/decorator.py index fcf8666..3e86182 100644 --- a/app/service/utils/decorator.py +++ b/app/service/utils/decorator.py @@ -7,8 +7,9 @@ def RunTime(func): t1 = time.time() res = func(*args, **kwargs) t2 = time.time() - if t2 - t1 > 0.05: - logging.info(f"function:【{func.__name__}】,runtime:【{str(t2 - t1)}】s") + # if t2 - t1 > 0.05: + # logging.info(f"function:【{func.__name__}】,runtime:【{str(t2 - t1)}】s") + logging.info(f"function:【{func.__name__}】,runtime:【{str(t2 - t1)}】s") return res return wrapper