summaryrefslogtreecommitdiff
path: root/indra/newview/llpersistentnotificationstorage.cpp
diff options
context:
space:
mode:
authorGilbert Gonzales <gilbert@lindenlab.com>2013-03-27 16:37:16 -0700
committerGilbert Gonzales <gilbert@lindenlab.com>2013-03-27 16:37:16 -0700
commit2cb7218daf07bd3208bb35535c38cfe42c5bbec9 (patch)
tree9fbe0c241fbb1c4aa75a6ed2d84ab690baf9d900 /indra/newview/llpersistentnotificationstorage.cpp
parent9e3ec04b4bee1dc2cc95a3e483938c36c83ab6cf (diff)
CHUI-875 (Viewer experiences a 10s delay on dnd (do not disturb) notification loading): For now adding logging when reading from persistent notifications and from dnd notifications.
Diffstat (limited to 'indra/newview/llpersistentnotificationstorage.cpp')
-rw-r--r--indra/newview/llpersistentnotificationstorage.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llpersistentnotificationstorage.cpp b/indra/newview/llpersistentnotificationstorage.cpp
index 11c12e6c10..666f10df96 100644
--- a/indra/newview/llpersistentnotificationstorage.cpp
+++ b/indra/newview/llpersistentnotificationstorage.cpp
@@ -87,6 +87,8 @@ void LLPersistentNotificationStorage::loadNotifications()
{
LLFastTimer _(FTM_LOAD_NOTIFICATIONS);
+ LL_INFOS("LLPersistentNotificationStorage") << "start loading notifications" << LL_ENDL;
+
LLNotifications::instance().getChannel("Persistent")->
connectChanged(boost::bind(&LLPersistentNotificationStorage::onPersistentChannelChanged, this, _1));
@@ -129,6 +131,8 @@ void LLPersistentNotificationStorage::loadNotifications()
notification_channel->hideToast(notification->getID());
}
}
+
+ LL_INFOS("LLPersistentNotificationStorage") << "finished loading notifications" << LL_ENDL;
}
bool LLPersistentNotificationStorage::onPersistentChannelChanged(const LLSD& payload)