Comments (3)
Hi @paurullan,
sure if it makes sense. But since the method check
is always called, you could just take the time before and after using time.time
. That way you wouldn't need to add the dependency.
I'm really looking forward to see you contribution. I think it's a really cool feature.
Cheers
-Joe
from django-health-check.
Hi, I've added a pull request to include a simpler version of this just using the below:
from timeit import default_timer as timer
which doesn't require any other apps -
from django-health-check.
The timer was merged in 5ec5873 and released in v2.4.0 👍
Thanks everyone, great work 🥇
from django-health-check.
Related Issues (20)
- Pypi page: Broken Image HOT 1
- Separate URLs for each checked service HOT 3
- Django 4.1 deprecation warning
- CeleryPingHealthCheck issue
- '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
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.