-
-
Notifications
You must be signed in to change notification settings - Fork 183
add login logs #76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add login logs #76
Conversation
Hi, @downdawn Routine log entry may lead to unnecessary time loss? What do you think? |
please review. |
The main delay is caused by the request url, can increase the timeout parameter Log storage includes operations such as parsing ua and obtaining ip information, which can be extracted into tasks separately. Consider whether to use BackgroundTasks |
Okay. The default timeout is 5s. |
# Conflicts: # backend/app/api/v1/user.py # backend/app/crud/crud_user.py # backend/app/services/user_service.py
Hi, @downdawn Now it's elegant, please review. |
LGTM |
This is a pre-built version
Please note: This method will cause unnecessary delays in the login api