Make logging in Mediator Producer managed by REST
Issue-ID: NONRTRIC-645
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
Change-Id: I9c091af5742e9e6ed37b1695439b7f9117172379
diff --git a/dmaap-mediator-producer/main.go b/dmaap-mediator-producer/main.go
index 194ed75..3a4935a 100644
--- a/dmaap-mediator-producer/main.go
+++ b/dmaap-mediator-producer/main.go
@@ -56,7 +56,7 @@
}
retryClient := restclient.CreateRetryClient(cert)
- jobsManager := jobs.NewJobsManagerImpl("configs/type_config.json", retryClient, configuration.DMaaPMRAddress, restclient.CreateClientWithoutRetry(cert, 5*time.Second))
+ jobsManager := jobs.NewJobsManagerImpl("configs/type_config.json", retryClient, configuration.DMaaPMRAddress, restclient.CreateClientWithoutRetry(cert, 10*time.Second))
if err := registerTypesAndProducer(jobsManager, configuration.InfoCoordinatorAddress, callbackAddress, retryClient); err != nil {
log.Fatalf("Stopping producer due to: %v", err)
}