Page MenuHomeSoftware Heritage

swh-worker@.service: Fix --max-tasks-per-child celery flag
AbandonedPublic

Authored by ardumont on Mar 19 2019, 10:32 AM.

Details

Reviewers
olasd
vlorentz
Group Reviewers
Reviewers
Summary

doc [1] says --max-tasks-per-child not --maxtasksperchild

[1] http://docs.celeryproject.org/en/latest/userguide/workers.html#max-tasks-per-child-setting

Test Plan

octocatalog-diff

Diff Detail

Repository
rSPSITE puppet-swh-site
Branch
production
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 4713
Build 6277: arc lint + arc unit

Event Timeline

No need, the official doc does not mention it but the help cli does:

python3 -m celery worker --help | grep maxtask
  --max-tasks-per-child MAX_TASKS_PER_CHILD, --maxtasksperchild MAX_TASKS_PER_CHILD