dify-on-wechat/common/memory.py

3 lines
83 B
Python

from common.expired_dict import ExpiredDict
USER_IMAGE_CACHE = ExpiredDict(60 * 3)