Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Enable cleanup of cursor table #86

Merged
merged 1 commit into from
Sep 7, 2023
Merged

feat: Enable cleanup of cursor table #86

merged 1 commit into from
Sep 7, 2023

Conversation

satran004
Copy link
Member

  • Added scheduler to delete old cursor records in cursor_ table

Properties:

store:
  cardano:
    cursor-cleanup-interval: <Interval In Sec>
    cursor-no-of-blocks-to-keep: <No of blocks to keep>

Default Value

 store:
  cardano:
    cursor-cleanup-interval: 3600
    cursor-no-of-blocks-to-keep: 2160

To disable cleanup scheduler

Set no of blocks to keep to -1

 store:
  cardano:
    cursor-no-of-blocks-to-keep: -1

@satran004 satran004 merged commit 523e6b1 into main Sep 7, 2023
1 check passed
@satran004 satran004 deleted the cursor_cleanup branch September 7, 2023 11:37
Copy link
Collaborator

@matiwinnetou matiwinnetou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants