mirror of https://github.com/OpenVidu/openvidu.git
openvidu-server: white lines clear up
parent
2675077093
commit
a639fcbbc3
|
@ -243,7 +243,7 @@ public class OpenViduServer implements JsonRpcConfigurer {
|
|||
|
||||
for (Error error : config.getConfigErrors()) {
|
||||
msg += " * ";
|
||||
if(error.getProperty() != null) {
|
||||
if (error.getProperty() != null) {
|
||||
msg += "Property " + config.getPropertyName(error.getProperty());
|
||||
if (error.getValue() == null || error.getValue().equals("")) {
|
||||
msg += " is not set. ";
|
||||
|
@ -268,15 +268,15 @@ public class OpenViduServer implements JsonRpcConfigurer {
|
|||
|
||||
} else {
|
||||
|
||||
String msg = "\n\n\n" + " Configuration properties\n" + " ----------------------\n" + "\n";
|
||||
String msg = "\n\n\n" + " Configuration properties\n" + " ------------------------\n" + "\n";
|
||||
|
||||
Map<String, String> configProps = config.getConfigProps();
|
||||
List<String> configPropNames = new ArrayList<>(config.getUserProperties());
|
||||
Collections.sort(configPropNames);
|
||||
|
||||
for(String property : configPropNames) {
|
||||
for (String property : configPropNames) {
|
||||
String value = configProps.get(property);
|
||||
msg += " * "+config.getPropertyName(property)+"="+(value == null? "": value)+"\n";
|
||||
msg += " * " + config.getPropertyName(property) + "=" + (value == null ? "" : value) + "\n";
|
||||
}
|
||||
msg += "\n\n";
|
||||
|
||||
|
@ -290,10 +290,10 @@ public class OpenViduServer implements JsonRpcConfigurer {
|
|||
String dashboardUrl = httpUrl + "dashboard/";
|
||||
|
||||
// @formatter:off
|
||||
String msg = "\n\n----------------------------------------------------\n" + "\n"
|
||||
+ " OpenVidu Platform is ready!\n" + " ---------------------------\n" + "\n"
|
||||
+ " * OpenVidu Server: " + httpUrl + "\n" + "\n" + " * OpenVidu Dashboard: " + dashboardUrl + "\n"
|
||||
+ "\n" + "----------------------------------------------------\n";
|
||||
String msg = "\n\n----------------------------------------------------\n" + "\n" + " OpenVidu is ready!\n"
|
||||
+ " ---------------------------\n" + "\n" + " * OpenVidu Server: " + httpUrl + "\n" + "\n"
|
||||
+ " * OpenVidu Dashboard: " + dashboardUrl + "\n" + "\n"
|
||||
+ "----------------------------------------------------\n";
|
||||
// @formatter:on
|
||||
|
||||
log.info(msg);
|
||||
|
|
|
@ -437,6 +437,9 @@ public class OpenviduConfig {
|
|||
openviduStreamsVideoMaxSendBandwidth = asNonNegativeInteger("openvidu.streams.video.max-send-bandwidth");
|
||||
openviduStreamsVideoMinSendBandwidth = asNonNegativeInteger("openvidu.streams.video.min-send-bandwidth");
|
||||
|
||||
openviduSessionsGarbageInterval = asNonNegativeInteger("openvidu.sessions.garbage.interval");
|
||||
openviduSessionsGarbageThreshold = asNonNegativeInteger("openvidu.sessions.garbage.threshold");
|
||||
|
||||
kmsUrisList = checkKmsUris();
|
||||
|
||||
checkCoturnIp();
|
||||
|
@ -447,9 +450,6 @@ public class OpenviduConfig {
|
|||
|
||||
checkCertificateType();
|
||||
|
||||
openviduSessionsGarbageInterval = asNonNegativeInteger("openvidu.sessions.garbage.interval");
|
||||
openviduSessionsGarbageThreshold = asNonNegativeInteger("openvidu.sessions.garbage.threshold");
|
||||
|
||||
}
|
||||
|
||||
private void checkCertificateType() {
|
||||
|
|
Loading…
Reference in New Issue