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

The connection status indicator does not work consistently #4

Open
frestr opened this issue May 10, 2017 · 0 comments
Open

The connection status indicator does not work consistently #4

frestr opened this issue May 10, 2017 · 0 comments
Labels

Comments

@frestr
Copy link
Collaborator

frestr commented May 10, 2017

When updating probes, the connection status indicator alternates between the correct "Updating..." text, and another text like "Not updated" or "Updated (some time ago)". This is confusing for users, as they may think the update either failed or is done, when it in reality is still in progress (note: the status indicator doesn't affect the updating itself).

I'm pretty sure this is because of how the parsed log content is cached in a global variable in ansible.py (which is bad even if it is not the cause of the problem). A way to solve this may be to use Redis, but that's perhaps a little overkill. It's also possible to remove the caching, but this will lead to increased disk I/O (possibly with a factor around 5-10) and increased CPU usage (the file will need to be parsed each time).

@frestr frestr added the bug label May 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant