#31958: Django ORM sync_to_async error FATAL: remaining connection slots are
reserved for non-replication superuser connections
-------------------------------------+-------------------------------------
     Reporter:  Supratim Samantray   |                    Owner:  nobody
         Type:  Bug                  |                   Status:  closed
    Component:  Database layer       |                  Version:  3.1
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:  invalid
     Keywords:  ORM Async            |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Carlton Gibson):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 This is a usage issue. Please see TicketClosingReasons/UseSupportChannels.

 I'd post the forum in the internals async channel.
 https://forum.djangoproject.com/

 Essentially you're going to need to wait for async ORM support to do this
 properly.

 Even then you'll need to consider the number of DB connections you're
 creating. You're trying to create a connection for each item in `metrics`,
 which is too many (This kind of issue is perennial...)

-- 
Ticket URL: <https://code.djangoproject.com/ticket/31958#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.0e0a97098bc660380a4f66df1d68c3c3%40djangoproject.com.

Reply via email to