#23517: Collect static files in parallel -------------------------------------+------------------------------------- Reporter: thenewguy | Owner: nobody Type: Uncategorized | Status: closed Component: contrib.staticfiles | Version: 1.7 Severity: Normal | Resolution: needsinfo Keywords: | Triage Stage: Has patch: 0 | Unreviewed Needs tests: 0 | Needs documentation: 0 Easy pickings: 0 | Patch needs improvement: 0 | UI/UX: 0 -------------------------------------+------------------------------------- Changes (by aaugustin):
* status: new => closed * needs_docs: => 0 * resolution: => needsinfo * needs_tests: => 0 * needs_better_patch: => 0 Comment: I'm afraid we'll be reluctant to hardcode concurrent behavior in Django if there's another solution. You shoud be able to implement parallel upload in the storage backend with: - a `save` method that enqueues the operation for processing by a thread pool and returns immediately, - a `post_process` method that waits until the thread pool has completed all uploads. Can you try that approach, and if it doesn't work, reopen this ticket? Thanks! -- Ticket URL: <https://code.djangoproject.com/ticket/23517#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 django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/067.51b21ae6a330d6d8ad41abcfa76d7063%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.