forked from TrueCloudLab/frostfs-node
[#2075] node: Do not make notary requests on shutdown
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>fyrchik/simplify-services
parent
b8c30b88f6
commit
0f41c09207
|
@ -45,6 +45,7 @@ Changelog for NeoFS Node
|
||||||
- `neofs-cli object hash` panic (#2079)
|
- `neofs-cli object hash` panic (#2079)
|
||||||
- Closing `neo-go` WS clients on shutdown and switch processes (#2080)
|
- Closing `neo-go` WS clients on shutdown and switch processes (#2080)
|
||||||
- Making notary deposits with a zero GAS balance (#2080)
|
- Making notary deposits with a zero GAS balance (#2080)
|
||||||
|
- Notary requests on shutdown (#2075)
|
||||||
|
|
||||||
### Removed
|
### Removed
|
||||||
- `-g` option from `neofs-cli control ...` and `neofs-cli container create` commands (#2089)
|
- `-g` option from `neofs-cli control ...` and `neofs-cli container create` commands (#2089)
|
||||||
|
|
|
@ -161,7 +161,7 @@ func waitNotaryDeposit(c *cfg, tx util.Uint256) error {
|
||||||
for i := 0; i < notaryDepositRetriesAmount; i++ {
|
for i := 0; i < notaryDepositRetriesAmount; i++ {
|
||||||
select {
|
select {
|
||||||
case <-c.ctx.Done():
|
case <-c.ctx.Done():
|
||||||
return nil
|
return c.ctx.Err()
|
||||||
default:
|
default:
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue