fix: high CPU utilization by scheduler while idle (#2156)

resolves #2155

Signed-off-by: Andrei Aaron <aaaron@luxoft.com>
This commit is contained in:
Andrei Aaron
2024-01-11 19:30:16 +02:00
committed by GitHub
parent 77d68297cf
commit 2a6bf66cb2
3 changed files with 16 additions and 9 deletions
+2
View File
@@ -134,6 +134,8 @@ func TestNewExporter(t *testing.T) {
baseURL := fmt.Sprintf(BaseURL, serverPort)
servercConfig.HTTP.Port = serverPort
servercConfig.BinaryType = "minimal"
servercConfig.Storage.Dedupe = false
servercConfig.Storage.GC = false
serverController := zotapi.NewController(servercConfig)
So(serverController, ShouldNotBeNil)