How to Solve the Problem of Github Actions Django Test Failing to Destroy PostgreSQL Database?

TL;DR Description I had a Github action that runs my Django test without problem for ages and suddenly I have the problem of it not being able to destroy the test database because there are "There are 6 other sessions using the database." My Solution 1. I removed the conn_max_age=600 from my dj_database_url.config. Possible Variations 1. Find your PostgreSQL connection configuration. If there is a configuration similar to the maximum time the system will keep the connection alive, set it to 0 or remove it so that the default 0 will be used. This essentially means it will close the connection once it is done. The Full Story Introduction I have one repository where I am doing my final project for CS50 Web . I changed my project from a task manager to a 90-day notification tracker because it is something that I see myself using. After I've changed the model and committed my code, I started to see the following error in my Github Actions test. Thinking Process First tho