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

Remove Mercury's Notify ConfigTracker implementation #11171

Closed
wants to merge 2 commits into from

Conversation

krehermann
Copy link
Contributor

@krehermann krehermann commented Nov 3, 2023

https://smartcontract-it.atlassian.net/browse/MERC-2328

This change removes the Notify implementation of the mercury config tracker. The effect is that the builtin libocr polling will govern the refresh rate for configuration changes. The lowest this value can be is 15 seconds.

I have taken the liberty to make the change. One thing that needs to be considered before merging is how this change will interact with existing deployments. Since the poll rate for libocr is a job configuration value, and that value has been shortcircuited until this point, there is a risk that some jobs are poorly configured. We would want to ensure that this change is accompanied by check that all job definitions set the config poll interval to 15s

ContractConfigTrackerPollInterval models.Interval      `toml:"contractConfigTrackerPollInterval"`

Copy link
Contributor

github-actions bot commented Nov 3, 2023

I see that you haven't updated any README files. Would it make sense to do so?

@krehermann krehermann force-pushed the poc/mercury-config-polling branch from 8e30adc to 475270a Compare November 6, 2023 23:57
@krehermann krehermann changed the title POC example code to replace mercury eventbroadcaster with polling Remove Mercury's Notify ConfigTracker implementation Nov 7, 2023
@cl-sonarqube-production
Copy link

@krehermann krehermann marked this pull request as ready for review November 7, 2023 02:51
@krehermann krehermann requested a review from jmank88 November 7, 2023 02:51
Copy link
Contributor

github-actions bot commented Jan 8, 2024

This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the Stale label Jan 8, 2024
@github-actions github-actions bot closed this Jan 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants