adds celery -O fair configuration

This commit is contained in:
msramalho
2025-02-24 18:44:35 +00:00
parent a50c218c93
commit eec4c09441
4 changed files with 4 additions and 4 deletions

View File

@@ -78,7 +78,7 @@ def authenticate_user(access_token):
return False, f"email '{email}' not allowed"
return True, email
except exceptions.FirebaseError as e:
logger.warning(f"Error verifying ID token: {str(e)}")
logger.warning(f"Error verifying ID token: {str(e)[:80]}...")
# https://cloud.google.com/docs/authentication/token-types#access
if type(access_token) != str or len(access_token) < 10: return False, "invalid access_token"