enh/refac: deprecate USER_POOL
This commit is contained in:
1 parent
c2634d45ad
commit
70948f8803
10 files changed
+50
-88
No files matched your search
@@ -489,7 +489,7 @@ class UsersTable:
|
||||
return None
|
||||
|
||||
@throttle(DATABASE_USER_ACTIVE_STATUS_UPDATE_INTERVAL)
|
||||
def update_user_last_active_by_id(self, id: str) -> Optional[UserModel]:
|
||||
def update_last_active_by_id(self, id: str) -> Optional[UserModel]:
|
||||
try:
|
||||
with get_db() as db:
|
||||
db.query(User).filter_by(id=id).update(
|
||||
|
||||
Reference in new issue
Block a user