Skip to content

Commit

Permalink
Fix and improve start order
Browse files Browse the repository at this point in the history
  • Loading branch information
dhaavi committed Aug 23, 2024
1 parent b6b0729 commit 2fd7c61
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions service/instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -265,34 +265,35 @@ func New(svcCfg *ServiceConfig) (*Instance, error) { //nolint:maintidx
// Add all modules to instance group.
instance.serviceGroup = mgr.NewGroup(
instance.base,
instance.rng,
instance.database,
instance.config,
instance.api,
instance.metrics,
instance.runtime,
instance.notifications,
instance.rng,

instance.core,
instance.updates,
instance.geoip,
instance.netenv,

instance.ui,
instance.process,
instance.profile,
instance.netquery,
instance.network,
instance.netquery,
instance.firewall,
instance.nameserver,
instance.resolver,
instance.filterLists,
instance.interception,
instance.customlist,
instance.interception,

instance.compat,
instance.status,
instance.broadcasts,
instance.compat,
instance.nameserver,
instance.process,
instance.resolver,
instance.sync,
instance.ui,

instance.access,
)
Expand Down

0 comments on commit 2fd7c61

Please sign in to comment.