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

V03 issue643 - on_cleanup now works (needed by redisqueue ) #733

Merged
merged 11 commits into from
Jul 27, 2023

Conversation

petersilva
Copy link
Contributor

This builds on the previous two pull requests, fixing issue #643 by adding event callbacks
for on_cleanup, on_declare, and on_sanity. The on_cleanup is needed by redisqueue
stuff to ensure that resources allocated on a redisqueue can be cleaned out.

Also noticed that the previous work to enable this, had broken cleanup
as there was no call to xxxSetup()

@petersilva petersilva changed the title V03 issue643 - on_cleanup now workes (needed by redisqueue ) V03 issue643 - on_cleanup now works (needed by redisqueue ) Jul 27, 2023
@petersilva
Copy link
Contributor Author

@gcglinton might want to try this branch out, and see if the cleanup works on his redis stuff.
I renamed the routine to match the callback, but haven't tested it. (used flowcb/log to provie callbacks were called.)

@petersilva petersilva merged commit 830528d into v03_wip Jul 27, 2023
2 of 4 checks passed
@petersilva petersilva deleted the v03_issue643 branch July 27, 2023 20:32
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