mirror of https://github.com/OpenVidu/openvidu.git
openvidu-server: return Kms on KmsManager#removeKms
parent
a79434fb4a
commit
375186a8fb
|
@ -90,8 +90,8 @@ public abstract class KmsManager {
|
||||||
this.kmss.put(kms.getUri(), kms);
|
this.kmss.put(kms.getUri(), kms);
|
||||||
}
|
}
|
||||||
|
|
||||||
public synchronized void removeKms(String kmsUri) {
|
public synchronized Kms removeKms(String kmsUri) {
|
||||||
this.kmss.remove(kmsUri);
|
return this.kmss.remove(kmsUri);
|
||||||
}
|
}
|
||||||
|
|
||||||
public synchronized Kms getLessLoadedKms() throws NoSuchElementException {
|
public synchronized Kms getLessLoadedKms() throws NoSuchElementException {
|
||||||
|
|
Loading…
Reference in New Issue