summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetrica Manoila <petrica.manoila@continental-corporation.com>2014-09-12 08:01:09 +0200
committerPetrica Manoila <petrica.manoila@continental-corporation.com>2014-09-12 08:01:09 +0200
commit8f0947949da77b5fd0bbf4a8a2f99b06e858af08 (patch)
tree8c71320bc8a5ba68bc210c4fd22617d99678ffe8
parentc5c11f1be06e74e92cda091de7a04bd3fb7e937e (diff)
downloadpersistence-administrator-8f0947949da77b5fd0bbf4a8a2f99b06e858af08.tar.gz
Bugfix: pers_admin_svc hogs 50 % of CPU
http://bugs.genivi.org/show_bug.cgi?id=263 Change-Id: I444ddf50fec740580be665610a57b4d87901590a Signed-off-by: Petrica Manoila <petrica.manoila@continental-corporation.com>
-rw-r--r--Administrator/src/ssw_pers_admin_service.c3
-rw-r--r--ChangeLog7
-rw-r--r--configure.ac4
3 files changed, 11 insertions, 3 deletions
diff --git a/Administrator/src/ssw_pers_admin_service.c b/Administrator/src/ssw_pers_admin_service.c
index 89c308e..038dbbf 100644
--- a/Administrator/src/ssw_pers_admin_service.c
+++ b/Administrator/src/ssw_pers_admin_service.c
@@ -11,6 +11,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* Date Author Reason
+* 2014.09.11 uidu0250 OvipRbt#8870: Fixed timeout calculation in WDOG retriggering mechanism.
* 2013.10.07 uidu0250 CSP_WZ#5965: Fixed timeout calculation for mq_timedreceive
* 2013.09.23 uidl9757 CSP_WZ#5781: Watchdog timeout of pas-daemon
* 2013.09.17 uidu0250 CSP_WZ#5633: Ignore requests received before registration to NSM
@@ -510,7 +511,7 @@ static void * persadmin_AccessLibThread(void *arg)
}
/* determine access lib timeout moment in time */
- tsTimestamp.tv_sec += (__time_t)((PAS_ACCESS_LIB_REQ_QUEUE_TIMEOUT / ONE_SEC_IN_US) + ( (uint64_t)timestamp.tv_usec + (PAS_ACCESS_LIB_REQ_QUEUE_TIMEOUT % ONE_SEC_IN_US))/ONE_SEC_IN_US );
+ tsTimestamp.tv_sec = timestamp.tv_sec + (__time_t)((PAS_ACCESS_LIB_REQ_QUEUE_TIMEOUT / ONE_SEC_IN_US) + ( (uint64_t)timestamp.tv_usec + (PAS_ACCESS_LIB_REQ_QUEUE_TIMEOUT % ONE_SEC_IN_US))/ONE_SEC_IN_US );
tsTimestamp.tv_nsec = (((uint64_t)timestamp.tv_usec + (PAS_ACCESS_LIB_REQ_QUEUE_TIMEOUT % ONE_SEC_IN_US)) % ONE_SEC_IN_US) * 1000;
diff --git a/ChangeLog b/ChangeLog
index e69de29..1b9d076 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -0,0 +1,7 @@
+persistence-administrator ChangeLog
+===================================
+
+Version 1.0.3 12.09.2014
+------------------------
+
+1. Fixed issue http://bugs.genivi.org/show_bug.cgi?id=263
diff --git a/configure.ac b/configure.ac
index f1fde52..5ae56a7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -18,8 +18,8 @@ dnl **************************************************************************
dnl *** First, define all of the version numbers up front ***
dnl *** In particular, this allows the version macro to be used in AC_INIT ***
dnl **************************************************************************
-m4_define([PERS_SERVICE_VERSION_S],[1.0.2])
-m4_define([PERS_SERVICE_VERSION_N],[1000001])
+m4_define([PERS_SERVICE_VERSION_S],[1.0.3])
+m4_define([PERS_SERVICE_VERSION_N],[1000003])
dnl ***************************
dnl *** Initialize autoconf ***