event_graph and evgrd: use INITIAL_GENESIS as seconds in for prune task as well

This commit is contained in:
dasman
2024-09-27 21:22:27 +03:00
parent 3af9c5cd56
commit 86afe8d896
2 changed files with 2 additions and 2 deletions

View File

@@ -173,7 +173,7 @@ impl LocalEventGraph {
loop {
// Find the next rotation timestamp:
let next_rotation = next_rotation_timestamp(INITIAL_GENESIS, days_rotation);
let next_rotation = next_rotation_timestamp(INITIAL_GENESIS / 1000, days_rotation);
// Prepare the new genesis event
let current_genesis = Event {

View File

@@ -509,7 +509,7 @@ impl EventGraph {
loop {
// Find the next rotation timestamp:
let next_rotation = next_rotation_timestamp(INITIAL_GENESIS, days_rotation);
let next_rotation = next_rotation_timestamp(INITIAL_GENESIS / 1000, days_rotation);
// Prepare the new genesis event
let current_genesis = Event {