don't write to public.node from ipld-eth-server

This commit is contained in:
ramil 2021-03-08 16:39:31 +03:00
parent bc4d277012
commit 7719d9beb9

View File

@ -108,7 +108,7 @@ func NewConfig() (*Config, error) {
}
c.HTTPEndpoint = httpPath
overrideDBConnConfig(&c.DBConfig)
serveDB := utils.LoadPostgres(c.DBConfig, nodeInfo)
serveDB := utils.LoadPostgres(c.DBConfig, nodeInfo, false)
prom.RegisterDBCollector(c.DBConfig.Name, serveDB.DB)
c.DB = &serveDB