Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preserve database connection when sync=True #393

Merged
merged 1 commit into from
Jan 17, 2020
Merged

Conversation

Urth
Copy link
Contributor

@Urth Urth commented Nov 27, 2019

When tasks run synchronously django-q should only affect the calling
context by running the tasks.
Fixes #326

When tasks run synchronously django-q should only affect the calling
context by running the tasks.
Fixes Koed00#326
@codecov-io
Copy link

codecov-io commented Nov 27, 2019

Codecov Report

Merging #393 into master will increase coverage by 0.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #393      +/-   ##
==========================================
+ Coverage    90.4%   90.41%   +0.01%     
==========================================
  Files          43       43              
  Lines        2846     2849       +3     
==========================================
+ Hits         2573     2576       +3     
  Misses        273      273
Impacted Files Coverage Δ
django_q/cluster.py 91.76% <100%> (+0.05%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 70269e1...66588a2. Read the comment docs.

@karimone
Copy link

Is possible to get this fix released?

@Koed00 Koed00 merged commit 6813753 into Koed00:master Jan 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"InterfaceError: connection already closed" being raised when a test is run
4 participants