pyramid_celery
pyramid_celery copied to clipboard
Pyramid configuration with celery integration. Allows you to use pyramid .ini files to configure celery and have your pyramid configuration inside celery tasks.
This will convert ini paramerts to bool or int if they can be. Allows for max_tasks_per_child to be set as well as others for celery workers fixes : https://github.com/sontek/pyramid_celery/issues/103
# Description @sontek Please consider this PR that integrates many long-pending issues. I have added multiple fixes to make sure recent Python versions are handled properly. For anyone else interested,...
Setting integer properties results in the worker failing to start.. we could default to use_celeryconfig but would prefer to keep the config in the ini file. ``` [celery] ... worker_max_tasks_per_child=1024...
Pyramid 1.10.4 Celery 4.4.2 pyramid_celery 3.0.0 Python 3.6.9 I was trying to specify my celery `result_backend` using the .ini file. But it just wouldn't work. Kept getting `results: disabled://`. Moving...
Hello, I want to fix deprecation warnings in pyramid_celery, which cause my project an error: ``` /usr/local/lib/python3.8/site-packages/pyramid_celery/loaders.py:99: in __init__ self.parser = self.ConfigParser() _ _ _ _ _ _ _ _...
I wanted to use this but had a custom celery config module, so I made this change to support it.
I want to use an environment variable as my `BROKER_URL` in a `.ini` file but it isn't parsed correctly. When I try to do `[celery]` `BROKER_URL = ${REDIS_URL}` I get...
Fixes # Refactor config values parsing - extracted new methods for each settings type. And wrapped it, so fail_silently passed to read_configuration is false - exception will be raised. In...
Currently, configuration for `broker_transport_options` are being limited by the following map: ``` BROKER_TRANSPORT_OPTIONS_MAP = { 'visibility_timeout': int, 'max_retries': int, } ``` However, for SQS, there are other options required such...
This option is necessary to use REDIS replication based on sentinels: ``` [celery] BROKER_URL = sentinel://:mypassword@sentinel1:26379/1;sentinel://:mypassword@sentinel2:26379/1 [celery:broker_transport_options] master_name = mymaster ``` More info in https://github.com/celery/kombu/blob/master/kombu/transport/redis.py (see SentinelChannel). Thanks