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

Feature reconnect on error #223

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Urth
Copy link
Contributor

@Urth Urth commented Mar 13, 2017

We were reorganising our clone and this forced the pull request to close.
This is the same feature branch as #207

Urth added 2 commits November 30, 2016 15:44
If the broker is not usable the guard loop can enter a infinite loop
where it tries to save the status every 0.5 seconds. This change forces
the broker connection to reset for those that support it.
django_redis may use a custom client such as django-redis-sentinel which
has different internals that need to be terminated properly.
@codecov-io
Copy link

codecov-io commented Mar 13, 2017

Codecov Report

Merging #223 into master will decrease coverage by 2.43%.
The diff coverage is 92.3%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #223      +/-   ##
==========================================
- Coverage   93.19%   90.75%   -2.44%     
==========================================
  Files          40       40              
  Lines        2717     2768      +51     
==========================================
- Hits         2532     2512      -20     
- Misses        185      256      +71
Impacted Files Coverage Δ
django_q/tests/test_cluster.py 100% <100%> (ø) ⬆️
django_q/status.py 100% <100%> (+2.59%) ⬆️
django_q/brokers/mongo.py 100% <100%> (ø) ⬆️
django_q/brokers/__init__.py 93.87% <100%> (-2.64%) ⬇️
django_q/brokers/redis_broker.py 96.29% <100%> (+0.55%) ⬆️
django_q/brokers/disque.py 98.11% <100%> (+0.11%) ⬆️
django_q/tests/test_brokers.py 70.63% <73.33%> (-11.66%) ⬇️
django_q/brokers/ironmq.py 0% <0%> (-94.74%) ⬇️

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 2190d63...f7d4c08. Read the comment docs.

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.

3 participants