Skip to content

feat: fixed should_reload behaviour, close PostgreSQL connections, block until PostgresqlWatcher is ready, refactorings #28

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

Closed
wants to merge 27 commits into from

Conversation

trbtm
Copy link
Contributor

@trbtm trbtm commented Jul 8, 2024

  1. PostgresqlWatcher.update_callback gets called by should_reload
  2. Close connection to PostgreSQL when Process gets terminated
  3. Block the thread until PostgresqlWatcher is ready to receive updates
  4. Adjusted README to make it clear to the user that they have to call PostgresqlWatcher.should_reload before Enforcer.enforce
  5. Improved unit tests
  6. Run black on the whole project
  7. Other refactorings

@trbtm trbtm mentioned this pull request Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant