Project

Profile

Help

Task #9252

closed

sync task uses too many DB connections

Added by dkliban@redhat.com over 3 years ago. Updated about 3 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
-
Sprint/Milestone:
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

Django 3.2 opens up new DB connection for each coroutine, unless the call is wrapped with sync_to_async.


Related issues

Related to Pulp - Issue #9129: Syncing is running out of DB connectionsCLOSED - CURRENTRELEASEgerrodActions
Related to File Support - Backport #9311: Backport #9252 to 1.9.1 releaseCLOSED - CURRENTRELEASE

Actions
Copied to RPM Support - Issue #9253: sync task uses too many DB connectionsCLOSED - CURRENTRELEASEdkliban@redhat.comActions
Actions #1

Updated by dkliban@redhat.com over 3 years ago

  • Copied to Issue #9253: sync task uses too many DB connections added
Actions #2

Updated by dkliban@redhat.com over 3 years ago

  • Related to Issue #9129: Syncing is running out of DB connections added
Actions #3

Updated by pulpbot over 3 years ago

  • Status changed from NEW to POST
Actions #4

Updated by daviddavis about 3 years ago

  • Sprint/Milestone set to 1.9.1

Added by dkliban@redhat.com about 3 years ago

Revision 04e62a98 | View on GitHub

Runs all DB querries synchronously during a sync task.

closes: #9252

Actions #6

Updated by dkliban@redhat.com about 3 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100
Actions #7

Updated by daviddavis about 3 years ago

  • Sprint/Milestone deleted (1.9.1)
Actions #8

Updated by daviddavis about 3 years ago

Actions #9

Updated by pulpbot about 3 years ago

  • Sprint/Milestone set to 1.10.0
Actions #10

Updated by pulpbot about 3 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF