Upload files to "core"
This commit is contained in:
11
core/auth_state.py
Normal file
11
core/auth_state.py
Normal file
@@ -0,0 +1,11 @@
|
||||
|
||||
import threading
|
||||
|
||||
from .state import db
|
||||
|
||||
current_jti: dict[int, str] = {}
|
||||
jti_lock = threading.Lock()
|
||||
|
||||
_saved = db.get_latest_jtis()
|
||||
if _saved:
|
||||
current_jti.update(_saved)
|
||||
Reference in New Issue
Block a user