cleanup and http proxy
All checks were successful
Build and Publish / Metadata (push) Successful in 4s
Build and Publish / BuildAndDeployAmd64 (push) Successful in 47s
Build and Publish / BuildAndDeployArm64 (push) Successful in 8m9s

This commit is contained in:
matst80
2025-10-10 18:44:31 +00:00
parent 5525e91ecc
commit fb111ebf97
10 changed files with 4 additions and 3187 deletions

View File

@@ -46,7 +46,6 @@ type SyncedPool struct {
type RemoteHostGRPC struct {
Host string
Conn *grpc.ClientConn
CartClient proto.CartActorClient
ControlClient proto.ControlPlaneClient
MissedPings int
}
@@ -152,7 +151,6 @@ func (p *SyncedPool) AddRemote(host string) {
return
}
cartClient := proto.NewCartActorClient(conn)
controlClient := proto.NewControlPlaneClient(conn)
// Health check (Ping) with limited retries
@@ -174,9 +172,9 @@ func (p *SyncedPool) AddRemote(host string) {
}
remote := &RemoteHostGRPC{
Host: host,
Conn: conn,
CartClient: cartClient,
Host: host,
Conn: conn,
ControlClient: controlClient,
MissedPings: 0,
}