Spaces:
Sleeping
Sleeping
Commit History
-
refactor(cache): improve redis client initialization with better error handling
Add connection timeout settings and fallback mechanism for authentication failures Move client creation to separate function for lazy initialization6e5d529 -
fix(cache): handle empty redis password and improve error logging
Add check for empty password string and enhance logging to distinguish between authenticated and unauthenticated connections. Also add catch-all exception handler for unexpected errors.6d5564a -
fix(cache): handle redis connection with optional password
Support both authenticated and unauthenticated Redis connections by checking if password is provided in settings. This makes the cache client more flexible for different deployment environments.a63007f
-
Add initial implementation of User Management Service
- Create folder structure and necessary files for the service - Implement FastAPI application with user authentication and OTP functionality - Set up MongoDB and Redis configurations - Add user and OTP models, along with services for user registration and login - Include utility functions for sending SMS and email OTPs - Define Pydantic schemas for request validation - Update requirements.txt with necessary dependenciesb407a42