mirror of
https://github.com/strukturag/nextcloud-spreed-signaling
synced 2024-05-10 01:26:32 +02:00
Merge pull request #533 from strukturag/warn-missing-backends
Log warning if no (static) backends have been configured.
This commit is contained in:
commit
0591be1bad
|
@ -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