forked from TrueCloudLab/frostfs-node
[#428] cmd/node: Trigger local trust controller on new epoch
Implement and call `initReputationService` func that constructs local trust storage and controller, and subscribes the controller on new epoch notification. Event handler calls `Controller.Report` method to process collected values. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
c4a1c70089
commit
a6f2394dec
3 changed files with 43 additions and 0 deletions
|
@ -46,6 +46,7 @@ func initApp(c *cfg) {
|
|||
initAccountingService(c)
|
||||
initContainerService(c)
|
||||
initSessionService(c)
|
||||
initReputationService(c)
|
||||
initObjectService(c)
|
||||
initProfiler(c)
|
||||
initMetrics(c)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue