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

Callback for openHistorian 1.0 adapters to update configuration #47

Open
StephenCWills opened this issue Nov 1, 2018 · 0 comments
Open
Assignees

Comments

@StephenCWills
Copy link
Member

The LocalOutputAdapter.OptimizeLocalHistorianSettings() method updates configuration file parameters for all the openHistorian 1.0 archives configured in the system. However, even if those configuration parameters change, there is no way to notify the adapter at runtime that its settings have changed. This means that even if the system automatically adjusts the archive file size as described in #46, the changes won't be applied until the adapter is reinitialized, potentially leading to disastrous outcomes.

If the LocalOutputAdapter.OptimizeLocalHistorianSettings() method could trigger a callback that would notify all LocalOutputAdapter instances that their configuration might have changed, then the adapters would be able to take the appropriate action to adjust their configuration on the fly.

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

No branches or pull requests

2 participants