Skip to content

Commit

Permalink
update ledger always
Browse files Browse the repository at this point in the history
  • Loading branch information
Prometheo committed Sep 21, 2024
1 parent a09cda3 commit 6418d57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion indexer_app/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,8 +382,8 @@ def stellar_event_indexer():
objs=stellar_events,
ignore_conflicts=True
)
update_ledger_sequence(events.latest_ledger, event.ledger_close_at)
jobs_logger.info(f"Ingested {len(stellar_events)} Stellar events from ledger {start_sequence} to {events.latest_ledger}...")
update_ledger_sequence(events.latest_ledger, event.ledger_close_at)

except Exception as e:
jobs_logger.error(f"Error processing ledger {start_sequence}: {e}")
Expand Down

0 comments on commit 6418d57

Please sign in to comment.