Skip to content
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

Update uvicorn server configuration and add pool config #2052

Merged
merged 5 commits into from
Jun 3, 2024

Commits on Jun 3, 2024

  1. 🔧 (Makefile): Add support for specifying the number of workers for uv…

    …icorn server
    
    ⬆️ (pyproject.toml): Upgrade uvicorn dependency to version 0.30.0
    ogabrielluiz committed Jun 3, 2024
    Configuration menu
    Copy the full SHA
    6033c14 View commit details
    Browse the repository at this point in the history
  2. refactor: Update database service to use pool_size and max_overflow s…

    …ettings
    
    The DatabaseService class in service.py has been updated to use the pool_size and max_overflow settings from the SettingsService. This change allows for better control over the number of connections in the connection pool and the number of connections that can be opened beyond the pool size. The commit also includes necessary modifications to the create_engine function to pass the pool_size and max_overflow parameters.
    
    Note: The commit message has been generated based on the provided code changes and recent commits.
    ogabrielluiz committed Jun 3, 2024
    Configuration menu
    Copy the full SHA
    099d44b View commit details
    Browse the repository at this point in the history
  3. refactor: Update DatabaseService to use settings_service for database…

    … URL
    
    The DatabaseService class in service.py has been updated to use the settings_service object for retrieving the database URL instead of directly passing it as a parameter. This change improves code organization and ensures consistency with other services that rely on the settings_service. The necessary modifications have been made in both the DatabaseService class and the DatabaseServiceFactory class.
    
    Note: The commit message has been generated based on the provided code changes and recent commits.
    ogabrielluiz committed Jun 3, 2024
    Configuration menu
    Copy the full SHA
    06df938 View commit details
    Browse the repository at this point in the history
  4. refactor: Update OpenAIModelComponent to use float type for temperatu…

    …re parameter
    
    The OpenAIModelComponent class in OpenAIModel.py has been updated to use the float type for the temperature parameter instead of the Optional[float] type. This change ensures consistency and improves code readability. The default value for the temperature parameter remains unchanged at 0.1.
    
    Note: The commit message has been generated based on the provided code changes and recent commits.
    ogabrielluiz committed Jun 3, 2024
    Configuration menu
    Copy the full SHA
    ced4fd0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5ea2699 View commit details
    Browse the repository at this point in the history