frostfs-node/pkg/morph/timer
Evgenii Stratonikov 4770cb8bf6 [#1208] innerring: Disallow to tick timer twice on the same height
Provide current heights as an argument to ticker.
Zero height disables any checks, thus corresponding to the old
behaviour. If non-zero height is used, ignore the tick if the height
is less than the timer tick state.

Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2022-04-07 11:52:24 +03:00
..
block.go [#1208] innerring: Disallow to tick timer twice on the same height 2022-04-07 11:52:24 +03:00
block_test.go [#1208] innerring: Disallow to tick timer twice on the same height 2022-04-07 11:52:24 +03:00