[VOL-2741]: code changes to support OLT reboot
Change-Id: I8a26347fee26802f5f32ed27f2030f1e0608fbb1
diff --git a/internal/pkg/config/config.go b/internal/pkg/config/config.go
index 1ba00e1..a9fa936 100644
--- a/internal/pkg/config/config.go
+++ b/internal/pkg/config/config.go
@@ -20,9 +20,10 @@
import (
"flag"
"fmt"
- "github.com/opencord/voltha-lib-go/v3/pkg/log"
"os"
"time"
+
+ "github.com/opencord/voltha-lib-go/v3/pkg/log"
)
// Open OLT default constants
@@ -49,9 +50,9 @@
defaultLiveProbeInterval = 60 * time.Second
defaultNotLiveProbeInterval = 5 * time.Second // Probe more frequently when not alive
//defaultHearbeatFailReportInterval is the time in seconds the adapter will keep checking the hardware for heartbeat.
- defaultHearbeatCheckInterval = 30 * time.Second
+ defaultHearbeatCheckInterval = 15 * time.Second
// defaultHearbeatFailReportInterval is the time adapter will wait before updating the state to the core.
- defaultHearbeatFailReportInterval = 180 * time.Second
+ defaultHearbeatFailReportInterval = 0 * time.Second
//defaultGrpcTimeoutInterval is the time in seconds a grpc call will wait before returning error.
defaultGrpcTimeoutInterval = 2 * time.Second
)