mirror of
https://github.com/strukturag/nextcloud-spreed-signaling
synced 2024-06-03 14:32:15 +02:00
Log warning if no (static) backends have been configured.
This commit is contained in:
parent
f514afad99
commit
17e25bbe6e
|
@ -115,6 +115,10 @@ func NewBackendStorageStatic(config *goconf.ConfigFile) (BackendStorage, error)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if numBackends == 0 {
|
||||||
|
log.Printf("WARNING: No backends configured, client connections will not be possible.")
|
||||||
|
}
|
||||||
|
|
||||||
statsBackendsCurrent.Add(float64(numBackends))
|
statsBackendsCurrent.Add(float64(numBackends))
|
||||||
return &backendStorageStatic{
|
return &backendStorageStatic{
|
||||||
backendStorageCommon: backendStorageCommon{
|
backendStorageCommon: backendStorageCommon{
|
||||||
|
|
Loading…
Reference in a new issue