From 011545ef0d7a7a4d7734501ea6be78b2ef0457ac Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期五, 04 八月 2023 15:21:47 +0800 Subject: [PATCH] redis连接池归还 --- constant.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/constant.py b/constant.py index 609c55e..ec29210 100644 --- a/constant.py +++ b/constant.py @@ -56,7 +56,7 @@ # 鑾峰彇鏍硅矾寰� def get_path_prefix(): - return 'D:' if is_windows() else '/trade' + return 'D:' if is_windows() else '/home' # 姘翠笅鎹炵疮璁¤繛缁按涓嬫椂闂存渶灏忓�� @@ -66,7 +66,7 @@ # 澶у崟绗旀暟 BIG_MONEY_NUM = 7888 -CACHE_PATH = f"{'D:' if is_windows() else '/trade'}/trade_cache" +CACHE_PATH = f"{'D:' if is_windows() else '/home'}/trade_cache" # S鎾ゆ瘮渚� S_CANCEL_MIN_MONEY = 98 -- Gitblit v1.8.0