mirror of
https://github.com/mudler/LocalAI.git
synced 2025-05-28 14:35:00 +00:00
chore(explorer): add join instructions (#3255)
* feat(explorer): give CLI instructions to join federated clusters Signed-off-by: Ettore Di Giacinto <mudler@localai.io> * debug message Signed-off-by: Ettore Di Giacinto <mudler@localai.io> --------- Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
parent
f18862fb44
commit
3457acc48b
2 changed files with 21 additions and 3 deletions
|
@ -98,6 +98,7 @@ func (fs *FederatedServer) proxy(ctx context.Context, node *node.Node) error {
|
|||
|
||||
tunnelAddr = fs.SelectLeastUsedServer()
|
||||
if tunnelAddr == "" {
|
||||
log.Debug().Msgf("Least used server not found, selecting random")
|
||||
tunnelAddr = fs.RandomServer()
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue