mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-01 03:03:10 -06:00
Don't yell about root because Docker
This commit is contained in:
parent
a84eecc888
commit
d43af4216f
|
|
@ -10,11 +10,6 @@ import (
|
|||
)
|
||||
|
||||
func platformSanityChecks() {
|
||||
// If Dendrite is running as root, that's probably bad.
|
||||
if syscall.Geteuid() == 0 {
|
||||
logrus.Warnf("IMPORTANT: Dendrite is currently running as root, this is potentially dangerous!")
|
||||
}
|
||||
|
||||
// Dendrite needs a relatively high number of file descriptors in order
|
||||
// to function properly, particularly when federating with lots of servers.
|
||||
// If we run out of file descriptors, we might run into problems accessing
|
||||
|
|
|
|||
Loading…
Reference in a new issue