Skip to main content

celery debug tasks.

Project description

celery-debug

celery debug tasks.

安装

pip install celery-debug

输出的celery调试服务

  • debug.ping
  • debug.echo

启动

  1. 在工作目录下创建celeryconfig.py,添加以下内容

    worker_concurrency = 10
    worker_pool = "threads"
    broker_url = "redis://redis/0"
    result_backend = "redis://redis/1"
    accept_content = ["application/json"]
    task_serializer = "json"
    result_accept_content = ["application/json"]
    result_serializer = "json"
    timezone = "Asia/Shanghai"
    broker_connection_retry_on_startup = True
    task_routes = {}
    
  2. 使用以下命令启动celery worker

    celery -A celery_debug:app worker -Q debug -l DEBUG
    

版本记录

v0.1.0

  • 版本首发。

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

celery-debug-0.1.0.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

celery_debug-0.1.0-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file celery-debug-0.1.0.tar.gz.

File metadata

  • Download URL: celery-debug-0.1.0.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.18

File hashes

Hashes for celery-debug-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8eca56e6ecb106cf880b84dbc2bc18175899b997f45962f053bff892fe5a4f02
MD5 2a9654d8d172123342bcfa8061a68e8e
BLAKE2b-256 847a23853b4e6debd89507b07b24838c06a8cceb0493f1294a3ea14a6ff49faf

See more details on using hashes here.

File details

Details for the file celery_debug-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for celery_debug-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0e62b297585bfa68d6ab90385470faab1fa500fecf110f6516c5c052689d0dda
MD5 e7657a8fa2fd2afc34d17f5e539387dc
BLAKE2b-256 ff00200bedc4106c9f075745b7a365d6b500fcdbde3077ce03f9aa21f614b49d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page