✨ 添加API缓存

This commit is contained in:
AkashiCoin
2024-09-03 16:52:11 +08:00
committed by AkashiCoin
parent 8911bbfa21
commit c3927c7f2e
2 changed files with 7 additions and 0 deletions
@@ -25,3 +25,6 @@ GIT_API_TREES_FORMAT = (
"https://api.github.com/repos/{owner}/{repo}/git/trees/{branch}?recursive=1"
)
"""git api trees地址格式"""
CACHED_API_TTL = 300
"""缓存api ttl"""