summaryrefslogtreecommitdiff
path: root/cppe/demo/IceE/chat/ChatClientDlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cppe/demo/IceE/chat/ChatClientDlg.cpp')
-rw-r--r--cppe/demo/IceE/chat/ChatClientDlg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cppe/demo/IceE/chat/ChatClientDlg.cpp b/cppe/demo/IceE/chat/ChatClientDlg.cpp
index 1116e58c35f..6300d3ce0fc 100644
--- a/cppe/demo/IceE/chat/ChatClientDlg.cpp
+++ b/cppe/demo/IceE/chat/ChatClientDlg.cpp
@@ -366,7 +366,7 @@ CChatClientDlg::OnLogin()
//
// Create a ping thread to keep the session alive.
//
- _ping = new SessionPingThread(_chat);
+ _ping = new SessionPingThread(_chat, _router->getSessionTimeout() / 2);
_ping->start();
}
catch(const Glacier2::CannotCreateSessionException& ex)