Comments (6)
@aleksihakli thanks I've seen your PR and left a comment. Please split those things as much as possible. That way we can merge them faster.
from django-health-check.
@codingjoe Hey Joe. I've split the pull requests into 4 smaller PRs, #64, #65, #66 and #67. The logging change, #64, is necessary for cleaner and more concise logging and error handling in the project and I will contribute another set of changes to improve the existing backends if that change gets accepted.
from django-health-check.
I haven't looked into the logging PR yet, but I will. You can also check out the MajorRefactoring PR. I did make a lot of changes there, but never found the time to split them into smaller chunks and to merge them.
Maybe you find something interesting in there.
What I currently very much dislike this that some methods return Exceptions.... They should be raised, not returned. Similar to how Validators work in Django.
from django-health-check.
Hey,
I actually saw at least two return statements which are fixed in the S3BotoStorage patch. I'll take a look at the major refactoring patchset and see if it could be rebased into smaller chunks on top of master too.
I'll be contributing some tests later on for a bit more comprehensive coverage.
EDIT: Return behaviour corrected to Raise in here: https://github.com/KristianOellegaard/django-health-check/pull/67/files
from django-health-check.
@aleksihakli yeah, the smaller the better and tests if possible. That is the biggest issue really. There are no tests :/
from django-health-check.
All changes merged in the original proposal, so closed.
from django-health-check.
Related Issues (20)
- 'staticfiles' is not a registered tag library HOT 2
- Django 4 beta 1: Exception 'never_cache didn't receive an HttpRequest' HOT 2
- Health Check installed apps breaks Jazzmin HOT 1
- Health check generates ResourceWarning's
- When RabbitMQ active queues is none, it throws an exception instead of failing gracefully
- Please update the installation part on readme file
- use unittest.mock instead of mock HOT 2
- Celery Health Check, "TimeoutError: The task took too long to return a result"
- BUG: 3.16.5 breaks django 4.0.5 HOT 3
- Make key used in CacheBackend externally readable HOT 1
- CacheBackend: Redis Exceptions are not catched HOT 4
- ugettext_lazy has been removed in Django 4.0 HOT 1
- 3.17.0 is not available on PIP HOT 2
- CeleryPingHealthCheck: Add 'limit' argument for ping
- CeleryPingHealthCheck is catching BaseException and really, *really*, **really** shouldn't :smile:
- Provide an option to disable checks in threads HOT 3
- Provide a fix to avoid " The DEFAULT_FILE_STORAGE setting is deprecated" HOT 1
- Question: how do I disable Celery Task received/succeeded log messages HOT 1
- Cache key does not match, what problem could it be? HOT 7
- AttributeError: 'ChannelPromise' object has no attribute '__value__' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-health-check.