forked from TrueCloudLab/frostfs-node
[#139] Use storage node GAS emission in inner ring app
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
d193f1087c
commit
0c49c08609
2 changed files with 4 additions and 0 deletions
|
@ -83,4 +83,6 @@ func defaultConfiguration(cfg *viper.Viper) {
|
|||
|
||||
cfg.SetDefault("netmap_cleaner.enabled", false)
|
||||
cfg.SetDefault("netmap_cleaner.threshold", 3)
|
||||
|
||||
cfg.SetDefault("emit.storage.amount", 0)
|
||||
}
|
||||
|
|
|
@ -255,8 +255,10 @@ func New(ctx context.Context, log *zap.Logger, cfg *viper.Viper) (*Server, error
|
|||
Log: log,
|
||||
PoolSize: cfg.GetInt("workers.alphabet"),
|
||||
AlphabetContracts: server.contracts.alphabet,
|
||||
NetmapContract: server.contracts.netmap,
|
||||
MorphClient: server.morphClient,
|
||||
IRList: server,
|
||||
StorageEmission: cfg.GetUint64("emit.storage.amount"),
|
||||
})
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
|
Loading…
Reference in a new issue