mirror of
https://github.com/hoernschen/dendrite.git
synced 2025-07-29 12:42:46 +00:00
Add PolylithMode
base config option (#2428)
* Add `PolylithMode` base config option * Polylith mode always uses HTTP APIs
This commit is contained in:
parent
a1a5357f79
commit
507f63d0fc
2 changed files with 7 additions and 3 deletions
|
@ -71,8 +71,8 @@ func main() {
|
|||
|
||||
logrus.Infof("Starting %q component", component)
|
||||
|
||||
base := base.NewBaseDendrite(cfg, component) // TODO
|
||||
defer base.Close() // nolint: errcheck
|
||||
base := base.NewBaseDendrite(cfg, component, base.PolylithMode) // TODO
|
||||
defer base.Close() // nolint: errcheck
|
||||
|
||||
go start(base, cfg)
|
||||
base.WaitForShutdown()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue