1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-09-29 04:25:55 -04:00

keep in sync with 2.3. maintain listener peak count over relay restarts

svn path=/icecast/branches/kh/icecast/; revision=10034
This commit is contained in:
Karl Heyes 2005-09-19 22:33:56 +00:00
parent a5a9b7ac5d
commit 29c20840ae

View File

@ -683,7 +683,7 @@ static void source_init (source_t *source)
stats_event_inc (NULL, "source_total_connections");
stats_event (source->mount, "slow_listeners", "0");
stats_event (source->mount, "server_type", source->format->contenttype);
stats_event (source->mount, "listener_peak", "0");
stats_event_args (source->mount, "listener_peak", "%lu", source->peak_listeners);
stats_event_time (source->mount, "stream_start");
DEBUG0("Source creation complete");