how does CONN_MAX_AGE work in Django
问题 can someone ELI5 what CONN_MAX_AGE does? I thought it worked like this: 1) Request #1 comes in, opens connection 1 to database 2) Request #1 uses connection 1 to do some work 3) Request #1 completes. Because CONN_MAX_AGE is non-zero (and the age has not been reached), the connection is left open. 4) Request #2 comes in, and Django re-uses connection #1 to the database. But that doesn't seem to be happening. I have a page on my site that does an AJAX poll every 15 seconds. In my development