Changes between Initial Version and Version 1 of Ticket #30441


Ignore:
Timestamp:
May 4, 2019, 2:58:24 AM (5 years ago)
Author:
cryptogun
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #30441 – Description

    initial v1  
    11PostgreSQL default max connection is 100.   
    22if `CONN_MAX_AGE == None` in setting.py:
    3 Every time I authenticate() a user, the connection is opened but not closed.
     3Every time I authenticate() a user, a new connection is opened but not closed.
    44{{{user = authenticate(request=request, username='admin', password='123456')}}}
    55
     
    4444}}}
    4545
    46 Bug reproduce (with attached project): 
     46Bug reproduce (with demo project attached): 
    47471. set CONN_MAX_AGE to None:
    4848{{{
     
    9090                self.connection = None
    9191}}}
    92 3. Open a new incognito browser <kbd>Ctrl</kbd><kbd>Shift</kbd> + <kbd>n</kbd>.
     923. Open a new incognito browser `Ctrl + Shift + n`.
    93934. Goto landing page.
    94945. Check Django log output. 
Back to Top