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

Close DB connection before job completion #918

Merged
merged 1 commit into from
Aug 30, 2024

Commits on Aug 30, 2024

  1. Close DB connection before job completion

    RQ workers create a fork to run the function. The issue arises
    when, after completing the job, the MariaDB logs display the
    warning:  `Aborted connection to db. Got an error reading
    communication packets`. This change ensures the database
    connection is closed before the fork ends, preventing the
    warning from appearing.
    
    Signed-off-by: Jose Javier Merchante <jjmerchante@bitergia.com>
    jjmerchante committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    4142ab5 View commit details
    Browse the repository at this point in the history