diff options
| author | Ralph Bean <rbean@redhat.com> | 2016-05-24 18:02:11 +0000 |
|---|---|---|
| committer | Ralph Bean <rbean@redhat.com> | 2016-05-24 18:02:16 +0000 |
| commit | 97b1e0e3df81c4bd9debd3dbde5d4feeaf7086c4 (patch) | |
| tree | f10967e3981f1c026f30240b8a0ff86cf96712c9 /roles/pdc | |
| parent | 6b3e0553bf1f261608ea98b2707e5ed8619967be (diff) | |
| download | ansible-97b1e0e3df81c4bd9debd3dbde5d4feeaf7086c4.tar.gz ansible-97b1e0e3df81c4bd9debd3dbde5d4feeaf7086c4.tar.xz ansible-97b1e0e3df81c4bd9debd3dbde5d4feeaf7086c4.zip | |
Use only one thread at a time to feed stuff to PDC.
Diffstat (limited to 'roles/pdc')
| -rw-r--r-- | roles/pdc/backend/templates/pdcupdater.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/pdc/backend/templates/pdcupdater.py b/roles/pdc/backend/templates/pdcupdater.py index 28164066c..c106b8761 100644 --- a/roles/pdc/backend/templates/pdcupdater.py +++ b/roles/pdc/backend/templates/pdcupdater.py @@ -4,6 +4,11 @@ config = { # Should we turn on the realtime updater? 'pdcupdater.enabled': True, + # Use only one thread at a time to handle messages. If we have more than + # one, then we can end up POSTing multiple enormous JSON blobs to the PDC + # web frontend, and we'll send it into OOM death. One at a time, people.. + "moksha.workers_per_consumer": 1, + # Credentials to talk to PDC 'pdcupdater.pdc': { {% if env == 'staging' %} |
