[Freeswitch-svn] [commit] r7126 - freeswitch/trunk/src
Freeswitch SVN
mikej at freeswitch.org
Mon Jan 7 12:10:48 EST 2008
Author: mikej
Date: Mon Jan 7 12:10:48 2008
New Revision: 7126
Modified:
freeswitch/trunk/src/switch_core.c
Log:
add sps to heartbeat.
Modified: freeswitch/trunk/src/switch_core.c
==============================================================================
--- freeswitch/trunk/src/switch_core.c (original)
+++ freeswitch/trunk/src/switch_core.c Mon Jan 7 12:10:48 2008
@@ -70,6 +70,7 @@
duration.ms, duration.ms == 1 ? "" : "s", duration.mms, duration.mms == 1 ? "" : "s");
switch_event_add_header(event, SWITCH_STACK_BOTTOM, "Session-Count", "%u", switch_core_session_count());
+ switch_event_add_header(event, SWITCH_STACK_BOTTOM, "Session-Per-Sec", "%u", runtime.sps);
switch_event_fire(&event);
}
}
More information about the Freeswitch-svn
mailing list