cached-request-11
All checks were successful
deploy / deploy (push) Successful in 1m4s

This commit is contained in:
2023-12-19 20:26:52 +03:00
parent 0188140224
commit 01e8a07ae7
2 changed files with 1 additions and 8 deletions

View File

@@ -3,12 +3,6 @@ from typing import List
import requests
from models.member import ChatMember
from settings import API_BASE
from datetime import datetime, timedelta
# Global variables to store cached authors data and last update time
cached_authors = None
last_update_time = None
update_interval = timedelta(minutes=2)
def _request_endpoint(query_name, body) -> dict: