Bladeren bron

this bug won't be stored for a 1000 years in the arctic

flashmob 5 jaren geleden
bovenliggende
commit
49345fc599
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      backends/gateway_test.go

+ 1 - 1
backends/gateway_test.go

@@ -49,7 +49,7 @@ func TestInitialize(t *testing.T) {
 
 	if gateway.conveyor == nil {
 		t.Error("gateway.conveyor should not be nil")
-	} else if cap(gateway.conveyor) != gateway.configSaveWorkersSize() {
+	} else if cap(gateway.conveyor) != gateway.gwConfig.saveProcessSize() {
 		t.Error("gateway.conveyor channel buffer cap does not match worker size, cap was", cap(gateway.conveyor))
 	}