Browse Source

fix: 删除调试printf

SongZihuan 2 năm trước cách đây
mục cha
commit
3dcb9e6d73
1 tập tin đã thay đổi với 0 bổ sung4 xóa
  1. 0 4
      sql/cache_refresh.py

+ 0 - 4
sql/cache_refresh.py

@@ -38,11 +38,9 @@ def refresh():
 
     for i in read_comment_list_iter():
         read_comment(i[0], mysql, not_cache=True)
-        print(f"comment {i}")
 
     for i in read_msg_list_iter():
         read_msg(i[0], mysql, not_cache=True)
-        print(f"msg {i}")
     get_msg_count(mysql, not_cache=True)
 
     for i in get_user_list_iter():
@@ -51,12 +49,10 @@ def refresh():
         get_user_comment_count(i[0], mysql, not_cache=True)
         get_user_msg_count(i[0], mysql, not_cache=True)
         read_user(email, mysql, not_cache=True)
-        print(f"user: {i}")
 
     for i in get_role_list_iter():
         get_role_name(i[0], mysql, not_cache=True)
         for a in role_authority:
             check_role(i[0], a, mysql, not_cache=True)
-        print(f"role {i}")
 
     refresh_logger.info("refresh redis cache finished.")