A fast, self-contained Go alternative to Python's celery inspect ping command.
733
A fast, self-contained Go alternative to Python's celery inspect ping command.
Goal is to be faster and more resource efficient that python's implementation.
# Run containerized application
docker run --rm nazriel/fast-celery-ping:latest --broker-url redis://host.docker.internal:6379/0
# Run with environment variables
docker run --rm \
-e CELERY_BROKER_URL=redis://host.docker.internal:6379/0 \
-e CELERY_PING_TIMEOUT=3s \
nazriel/fast-celery-ping:latest
| Flag | Environment Variable | Default | Description |
|---|---|---|---|
--broker-url | CELERY_BROKER_URL | redis://localhost:6379/0 | Redis connection URL |
--timeout | CELERY_PING_TIMEOUT | 1.5s | Timeout for ping responses |
--format | OUTPUT_FORMAT | text | Output format (json/text) |
--database | REDIS_DB | 0 | Redis database number |
--username | REDIS_USERNAME | Redis username | |
--password | REDIS_PASSWORD | Redis password | |
--verbose | VERBOSE | false | Enable verbose output |
Content type
Image
Digest
sha256:de93c21bc…
Size
5.9 MB
Last updated
over 1 year ago
docker pull nazriel/fast-celery-ping