1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-24 14:31:44 +01:00

feat: updates agents to be more resilient by reconnecting. also adds big performance issues in swarm mode with little updates to the UI. (#3145)

This commit is contained in:
Amir Raminfar
2024-07-25 08:01:33 -07:00
committed by GitHub
parent c87a7b1272
commit 3a988b8fdc
29 changed files with 560 additions and 241 deletions

View File

@@ -2,6 +2,7 @@ package web
import (
"context"
"crypto/tls"
"time"
"net/http"
@@ -53,9 +54,9 @@ func Test_handler_streamEvents_happy(t *testing.T) {
})
// This is needed so that the server is initialized for store
multiHostService := docker_support.NewMultiHostService(
[]docker_support.ClientService{docker_support.NewDockerClientService(mockedClient)},
)
manager := docker_support.NewRetriableClientManager(nil, tls.Certificate{}, docker_support.NewDockerClientService(mockedClient))
multiHostService := docker_support.NewMultiHostService(manager)
server := CreateServer(multiHostService, nil, Config{Base: "/", Authorization: Authorization{Provider: NONE}})
handler := server.Handler