Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
Icecast-Server
Commits
fce4c226
Commit
fce4c226
authored
Sep 19, 2005
by
Karl Heyes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
maintain the listener_peak stat across relay restarts
svn path=/icecast/trunk/icecast/; revision=10033
parent
78287d2a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
src/source.c
src/source.c
+1
-3
No files found.
src/source.c
View file @
fce4c226
...
...
@@ -589,8 +589,6 @@ static void source_init (source_t *source)
free
(
listenurl
);
}
stats_event_args
(
source
->
mount
,
"listener_peak"
,
"0"
);
if
(
source
->
dumpfilename
!=
NULL
)
{
source
->
dumpfile
=
fopen
(
source
->
dumpfilename
,
"ab"
);
...
...
@@ -609,7 +607,7 @@ static void source_init (source_t *source)
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
_args
(
source
->
mount
,
"listener_peak"
,
"
%lu"
,
source
->
peak_listeners
);
stats_event_time
(
source
->
mount
,
"stream_start"
);
DEBUG0
(
"Source creation complete"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment