Commit af9bc6bf authored by Karl Heyes's avatar Karl Heyes

make sure we have the initial listeners stat

svn path=/icecast/trunk/icecast/; revision=9721
parent 0f6d8ba8
......@@ -598,6 +598,7 @@ static void source_init (source_t *source)
source->listeners = 0;
stats_event_inc (NULL, "source_total_connections");
stats_event (source->mount, "slow_listeners", "0");
stats_event_args (source->mount, "listeners", "%lu", source->listeners);
stats_event (source->mount, "listener_peak", "0");
stats_event_time (source->mount, "stream_start");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment