Changes between Initial Version and Version 1 of Ticket #30441
- Timestamp:
- May 4, 2019, 2:58:24 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #30441 – Description
initial v1 1 1 PostgreSQL default max connection is 100. 2 2 if `CONN_MAX_AGE == None` in setting.py: 3 Every time I authenticate() a user, theconnection is opened but not closed.3 Every time I authenticate() a user, a new connection is opened but not closed. 4 4 {{{user = authenticate(request=request, username='admin', password='123456')}}} 5 5 … … 44 44 }}} 45 45 46 Bug reproduce (with attached project):46 Bug reproduce (with demo project attached): 47 47 1. set CONN_MAX_AGE to None: 48 48 {{{ … … 90 90 self.connection = None 91 91 }}} 92 3. Open a new incognito browser <kbd>Ctrl</kbd><kbd>Shift</kbd> + <kbd>n</kbd>.92 3. Open a new incognito browser `Ctrl + Shift + n`. 93 93 4. Goto landing page. 94 94 5. Check Django log output.