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

Zabbix MySQL replication bridge local DB cache and refresh. #175

Merged
merged 16 commits into from
Sep 14, 2016

Conversation

christianchristensen
Copy link
Contributor

These are some optimizations for the previous PR #169

Overview: Use a local sqlite3 db, rather than python dict; also reload the local db file/cache periodically (900s default).

@johann8384 johann8384 added this to the 1.3.1 milestone Feb 16, 2016
@johann8384 johann8384 modified the milestones: 1.3.1, 1.3.2 Mar 16, 2016
@@ -297,7 +297,8 @@ def run(self):
# while breaking out every once in a while to setup selects
# on new children.
while ALIVE:
for col in all_living_collectors():
alc = all_living_collectors()
Copy link
Member

Choose a reason for hiding this comment

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

What is this change doing?

@johann8384 johann8384 merged commit ffb338f into OpenTSDB:master Sep 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants