mirror of
https://github.com/hoernschen/dendrite.git
synced 2025-08-02 06:12:45 +00:00
Platform sanity checks (#2271)
* Platform sanity checks * Don't yell about `root` because Docker
This commit is contained in:
parent
507a8e6773
commit
01d71a767d
3 changed files with 31 additions and 0 deletions
|
@ -100,6 +100,7 @@ const (
|
|||
// The componentName is used for logging purposes, and should be a friendly name
|
||||
// of the compontent running, e.g. "SyncAPI"
|
||||
func NewBaseDendrite(cfg *config.Dendrite, componentName string, options ...BaseDendriteOptions) *BaseDendrite {
|
||||
platformSanityChecks()
|
||||
useHTTPAPIs := false
|
||||
cacheMetrics := true
|
||||
for _, opt := range options {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue