mirror of
https://github.com/strukturag/nextcloud-spreed-signaling
synced 2024-05-21 15:06:38 +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))
|
||||
return &backendStorageStatic{
|
||||
backendStorageCommon: backendStorageCommon{
|
||||
|
|
Loading…
Reference in a new issue