Skip to content

Commit 3c39836

Browse files
committed
Updated version
1 parent 0a6fe2c commit 3c39836

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<groupId>org.red5</groupId>
55
<artifactId>red5-parent</artifactId>
6-
<version>1.0.11</version>
6+
<version>1.0.12</version>
77
</parent>
88
<modelVersion>4.0.0</modelVersion>
99
<artifactId>red5-server-common</artifactId>

src/main/java/org/red5/server/scope/Scope.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -620,19 +620,18 @@ public IScopeHandler getHandler() {
620620
}
621621

622622
/** {@inheritDoc} */
623-
@Deprecated
624623
public int getMaxClients() {
625-
return connectionStats.getTotal();
624+
return connectionStats.getMax();
626625
}
627626

628627
/** {@inheritDoc} */
629628
public int getMaxConnections() {
630-
return connectionStats.getTotal();
629+
return connectionStats.getMax();
631630
}
632631

633632
/** {@inheritDoc} */
634633
public int getMaxSubscopes() {
635-
return subscopeStats.getTotal();
634+
return subscopeStats.getMax();
636635
}
637636

638637
/**

0 commit comments

Comments
 (0)