From 8095a22972c3cc8cc20f279719bb66d3789e6471 Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Sat, 18 Mar 2017 07:32:53 +0000 Subject: [PATCH] Convert minutes to seconds in the timeout. --- P25Gateway/P25Gateway.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/P25Gateway/P25Gateway.cpp b/P25Gateway/P25Gateway.cpp index 3c895ec..d0989ed 100644 --- a/P25Gateway/P25Gateway.cpp +++ b/P25Gateway/P25Gateway.cpp @@ -186,7 +186,7 @@ void CP25Gateway::run() CDMRLookup* lookup = new CDMRLookup(m_conf.getLookupName(), m_conf.getLookupTime()); lookup->read(); - CTimer inactivityTimer(1000U, m_conf.getNetworkInactivityTimeout()); + CTimer inactivityTimer(1000U, m_conf.getNetworkInactivityTimeout() * 60U); CTimer lostTimer(1000U, 120U); CTimer pollTimer(1000U, 5U);