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

fix(shutdown): do not shutdown immediately busy backends #3543

Merged
merged 3 commits into from
Sep 17, 2024

Commits on Sep 14, 2024

  1. fix(shutdown): do not shutdown immediately busy backends

    Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
    mudler committed Sep 14, 2024
    Configuration menu
    Copy the full SHA
    d0785ef View commit details
    Browse the repository at this point in the history
  2. chore(refactor): avoid duplicate functions

    Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
    mudler committed Sep 14, 2024
    Configuration menu
    Copy the full SHA
    e22e514 View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2024

  1. fix: multiplicative backoff for shutdown (#3547)

    * multiplicative backoff for shutdown
    
    Rather than always retry every two seconds, back off the shutdown attempt rate? 
    
    Signed-off-by: Dave <dave@gray101.com>
    
    * Update loader.go
    
    Signed-off-by: Dave <dave@gray101.com>
    
    * add clamp of 2 minutes
    
    Signed-off-by: Dave Lee <dave@gray101.com>
    
    ---------
    
    Signed-off-by: Dave <dave@gray101.com>
    Signed-off-by: Dave Lee <dave@gray101.com>
    dave-gray101 authored Sep 16, 2024
    Configuration menu
    Copy the full SHA
    ae86724 View commit details
    Browse the repository at this point in the history