[VOL-5394]-wait for device handler creation timer is increased from 1 sec to 20 sec
Change-Id: I77991a720493894a700b123c3ccb1845e677306d
Signed-off-by: Akash Soni <akash.soni@radisys.com>
diff --git a/VERSION b/VERSION
index c01d254..13e636e 100755
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-2.12.10-dev2
+2.12.10-dev3
diff --git a/internal/pkg/core/openonu.go b/internal/pkg/core/openonu.go
index fb3e2be..445257a 100755
--- a/internal/pkg/core/openonu.go
+++ b/internal/pkg/core/openonu.go
@@ -220,7 +220,7 @@
// based on concurrent processing the deviceHandler creation may not yet be finished at his point
// so it might be needed to wait here for that event with some timeout
select {
- case <-time.After(1 * time.Second): //timer may be discussed ...
+ case <-time.After(20 * time.Second): //timer may be discussed ...
logger.Warnw(ctx, "No valid deviceHandler created after max WaitTime", log.Fields{"device-id": deviceID})
return nil
case <-deviceCreateChan: