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

Configure autoRefresh for mappings in Cocoda, not per registry #556

Closed
stefandesu opened this issue May 19, 2020 · 3 comments
Closed

Configure autoRefresh for mappings in Cocoda, not per registry #556

stefandesu opened this issue May 19, 2020 · 3 comments
Labels
cleanup code cleanup, refactoring, testing...
Milestone

Comments

@stefandesu
Copy link
Member

Currently, each mapping registry can have the property autoRefresh. This shouldn't be defined inside each registry, but rather for all mapping registries. Also, the user should be able to disabled auto refresh.

@stefandesu stefandesu added the cleanup code cleanup, refactoring, testing... label May 19, 2020
@stefandesu stefandesu added this to the 1.3.2 milestone May 19, 2020
@stefandesu
Copy link
Member Author

@nichtich What do you think, should auto refresh be configured for the Cocoda instance or as a user setting? Right now, I set it to 10 seconds for registries with stored mappings, but I think it should either by configurable or in the settings.

@nichtich
Copy link
Member

Time in seconds should be configurable per Cocoda instance but users should be able to disable auto-refresh.

@stefandesu
Copy link
Member Author

This is now configurable in config (with default values in cocoda.default.json) with a possible override from the user in MappingBrowser settings.

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

No branches or pull requests

2 participants