Temporary fix for continuous memory consumption :
Put askuser-notification to sleep when idle for over 1sec.
Change-Id: I2245ac741de230b121869f9984fa03d8a76dcf14
Signed-off-by: jooseong lee <jooseong.lee@samsung.com>
m_running = true;
m_gui.addDismissFd(m_signalSocket.getFd(), AskUserTalker::dissmissCb, this);
while(m_running) {
- int ret = m_poller.wait(-1);
+ int ret = m_poller.wait(1);
if (ret == -1) {
ALOGE_ERRNO("Poll failed: ");
break;
}
if (ret == 0) {
- ALOGD("Strange, poll timeouted...");
- continue;
+ ALOGD("Poll timeouted...");
+ break;
}
ALOGD("Poll returned " << ret << " events");
Sockets=askuser-notification.socket
TimeoutStopSec=10
TimeoutStartSec=10
-Restart=always
EnvironmentFile=-/run/tizen-system-env