#35853: Disable garbage collection during transaction.atomic.
-------------------------------------+-------------------------------------
     Reporter:  Matej Spiller Muys   |                    Owner:  (none)
         Type:  New feature          |                   Status:  closed
    Component:  Database layer       |                  Version:  5.1
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:  wontfix
     Keywords:  gc, atomic,          |             Triage Stage:
  transaction                        |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Natalia Bidart):

 * component:  Uncategorized => Database layer (models, ORM)
 * resolution:   => wontfix
 * status:  new => closed

Comment:

 Hello Matej Spiller Muys, thank you for taking the time to create this
 report.

 It might be worth asking on the
 [https://forum.djangoproject.com/c/internals/5 Django forum] for
 help/input and then confirming if something new would need adding to
 Django (and what that would look like). We usually ask contributors to get
 feedback from the community through a forum discussion first, so we can
 confirm there is community consensus that Django should add this feature.

 From my personal view, this seems like a very specific need arising from a
 niche use case. I believe you could implement your own atomic decorator on
 top of Django's and disable the garbage collector on entry and re-enable
 on exit? I'm not sure this applies to the broader ecosystem, and Django is
 a framework designed to offer robust and accurate solutions for common
 scenarios. But if you get positive feedback from the forum, please comment
 back and link the forum conversation here so we reopen the ticket.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35853#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/01070192b074809f-3055de33-9e73-4d1c-be63-084773222ab1-000000%40eu-central-1.amazonses.com.

Reply via email to