 Celery v4.0.2 DocumentationAMQP, Redis Memcached, SQLAlchemy, Django ORM Apache Cassandra, Elasticsearch Serialization pickle, json, yaml, msgpack. zlib, bzip2 compression. Cryptographic message signing. Features Monitoring Scheduling app.conf.task_serializer = 'json' If you’re configuring many settings at once you can use update: app.conf.update( task_serializer='json', accept_content=['json'], # Ignore other content result_serializer='json', timezone='Europe/Oslo', enable_utc=True, ) For larger projects using a dedicated configuration module is useful, in fact you’re discouraged from hard coding periodic0 码力 | 1042 页 | 1.37 MB | 1 年前3 Celery v4.0.2 DocumentationAMQP, Redis Memcached, SQLAlchemy, Django ORM Apache Cassandra, Elasticsearch Serialization pickle, json, yaml, msgpack. zlib, bzip2 compression. Cryptographic message signing. Features Monitoring Scheduling app.conf.task_serializer = 'json' If you’re configuring many settings at once you can use update: app.conf.update( task_serializer='json', accept_content=['json'], # Ignore other content result_serializer='json', timezone='Europe/Oslo', enable_utc=True, ) For larger projects using a dedicated configuration module is useful, in fact you’re discouraged from hard coding periodic0 码力 | 1042 页 | 1.37 MB | 1 年前3
 Celery v4.1.0 Documentation• Memcached, • SQLAlchemy, Django ORM • Apache Cassandra, Elasticsearch • Serialization • pickle, json, yaml, msgpack. • zlib, bzip2 compression. • Cryptographic message signing. Features • Monitoring task_serializer = 'json' If you’re configuring many settings at once you can use update: app.conf.update( task_serializer='json', accept_content=['json'], # Ignore other content result_serializer='json', timezone='Europe/Oslo' broker_url = 'pyamqp://' result_backend = 'rpc://' task_serializer = 'json' result_serializer = 'json' accept_content = ['json'] timezone = 'Europe/Oslo' enable_utc = True To verify that your configuration0 码力 | 714 页 | 2.63 MB | 1 年前3 Celery v4.1.0 Documentation• Memcached, • SQLAlchemy, Django ORM • Apache Cassandra, Elasticsearch • Serialization • pickle, json, yaml, msgpack. • zlib, bzip2 compression. • Cryptographic message signing. Features • Monitoring task_serializer = 'json' If you’re configuring many settings at once you can use update: app.conf.update( task_serializer='json', accept_content=['json'], # Ignore other content result_serializer='json', timezone='Europe/Oslo' broker_url = 'pyamqp://' result_backend = 'rpc://' task_serializer = 'json' result_serializer = 'json' accept_content = ['json'] timezone = 'Europe/Oslo' enable_utc = True To verify that your configuration0 码力 | 714 页 | 2.63 MB | 1 年前3
 Celery v4.1.0 DocumentationAMQP, Redis Memcached, SQLAlchemy, Django ORM Apache Cassandra, Elasticsearch Serialization pickle, json, yaml, msgpack. zlib, bzip2 compression. Cryptographic message signing. Features Monitoring Scheduling app.conf.task_serializer = 'json' If you’re configuring many settings at once you can use update: app.conf.update( task_serializer='json', accept_content=['json'], # Ignore other content result_serializer='json', timezone='Europe/Oslo', enable_utc=True, ) For larger projects, a dedicated configuration module is recommended. Hard coding periodic task intervals and task routing0 码力 | 1057 页 | 1.35 MB | 1 年前3 Celery v4.1.0 DocumentationAMQP, Redis Memcached, SQLAlchemy, Django ORM Apache Cassandra, Elasticsearch Serialization pickle, json, yaml, msgpack. zlib, bzip2 compression. Cryptographic message signing. Features Monitoring Scheduling app.conf.task_serializer = 'json' If you’re configuring many settings at once you can use update: app.conf.update( task_serializer='json', accept_content=['json'], # Ignore other content result_serializer='json', timezone='Europe/Oslo', enable_utc=True, ) For larger projects, a dedicated configuration module is recommended. Hard coding periodic task intervals and task routing0 码力 | 1057 页 | 1.35 MB | 1 年前3
 Celery 4.0 Documentation• Memcached, • SQLAlchemy, Django ORM • Apache Cassandra, Elasticsearch • Serialization • pickle, json, yaml, msgpack. • zlib, bzip2 compression. • Cryptographic message signing. Features • Monitoring task_serializer = 'json' If you’re configuring many settings at once you can use update: app.conf.update( task_serializer='json', accept_content=['json'], # Ignore other content result_serializer='json', timezone='Europe/Oslo' broker_url = 'pyamqp://' result_backend = 'rpc://' task_serializer = 'json' result_serializer = 'json' accept_content = ['json'] timezone = 'Europe/Oslo' enable_utc = True To verify that your configuration0 码力 | 707 页 | 2.63 MB | 1 年前3 Celery 4.0 Documentation• Memcached, • SQLAlchemy, Django ORM • Apache Cassandra, Elasticsearch • Serialization • pickle, json, yaml, msgpack. • zlib, bzip2 compression. • Cryptographic message signing. Features • Monitoring task_serializer = 'json' If you’re configuring many settings at once you can use update: app.conf.update( task_serializer='json', accept_content=['json'], # Ignore other content result_serializer='json', timezone='Europe/Oslo' broker_url = 'pyamqp://' result_backend = 'rpc://' task_serializer = 'json' result_serializer = 'json' accept_content = ['json'] timezone = 'Europe/Oslo' enable_utc = True To verify that your configuration0 码力 | 707 页 | 2.63 MB | 1 年前3
 Celery v4.0.2 Documentation• Memcached, • SQLAlchemy, Django ORM • Apache Cassandra, Elasticsearch • Serialization • pickle, json, yaml, msgpack. • zlib, bzip2 compression. • Cryptographic message signing. Features • Monitoring task_serializer = 'json' If you’re configuring many settings at once you can use update: app.conf.update( task_serializer='json', accept_content=['json'], # Ignore other content result_serializer='json', timezone='Europe/Oslo' broker_url = 'pyamqp://' result_backend = 'rpc://' task_serializer = 'json' result_serializer = 'json' accept_content = ['json'] timezone = 'Europe/Oslo' enable_utc = True To verify that your configuration0 码力 | 707 页 | 2.63 MB | 1 年前3 Celery v4.0.2 Documentation• Memcached, • SQLAlchemy, Django ORM • Apache Cassandra, Elasticsearch • Serialization • pickle, json, yaml, msgpack. • zlib, bzip2 compression. • Cryptographic message signing. Features • Monitoring task_serializer = 'json' If you’re configuring many settings at once you can use update: app.conf.update( task_serializer='json', accept_content=['json'], # Ignore other content result_serializer='json', timezone='Europe/Oslo' broker_url = 'pyamqp://' result_backend = 'rpc://' task_serializer = 'json' result_serializer = 'json' accept_content = ['json'] timezone = 'Europe/Oslo' enable_utc = True To verify that your configuration0 码力 | 707 页 | 2.63 MB | 1 年前3
 Celery 4.0 DocumentationAMQP, Redis Memcached, SQLAlchemy, Django ORM Apache Cassandra, Elasticsearch Serialization pickle, json, yaml, msgpack. zlib, bzip2 compression. Cryptographic message signing. Features Monitoring Scheduling app.conf.task_serializer = 'json' If you’re configuring many settings at once you can use update: app.conf.update( task_serializer='json', accept_content=['json'], # Ignore other content result_serializer='json', timezone='Europe/Oslo', enable_utc=True, ) For larger projects using a dedicated configuration module is useful, in fact you’re discouraged from hard coding periodic0 码力 | 1042 页 | 1.37 MB | 1 年前3 Celery 4.0 DocumentationAMQP, Redis Memcached, SQLAlchemy, Django ORM Apache Cassandra, Elasticsearch Serialization pickle, json, yaml, msgpack. zlib, bzip2 compression. Cryptographic message signing. Features Monitoring Scheduling app.conf.task_serializer = 'json' If you’re configuring many settings at once you can use update: app.conf.update( task_serializer='json', accept_content=['json'], # Ignore other content result_serializer='json', timezone='Europe/Oslo', enable_utc=True, ) For larger projects using a dedicated configuration module is useful, in fact you’re discouraged from hard coding periodic0 码力 | 1042 页 | 1.37 MB | 1 年前3
 Celery v4.0.1 DocumentationAMQP, Redis Memcached, SQLAlchemy, Django ORM Apache Cassandra, Elasticsearch Serialization pickle, json, yaml, msgpack. zlib, bzip2 compression. Cryptographic message signing. Features Monitoring Scheduling app.conf.task_serializer = 'json' If you’re configuring many settings at once you can use update: app.conf.update( task_serializer='json', accept_content=['json'], # Ignore other content result_serializer='json', timezone='Europe/Oslo', enable_utc=True, ) For larger projects using a dedicated configuration module is useful, in fact you’re discouraged from hard coding periodic0 码力 | 1040 页 | 1.37 MB | 1 年前3 Celery v4.0.1 DocumentationAMQP, Redis Memcached, SQLAlchemy, Django ORM Apache Cassandra, Elasticsearch Serialization pickle, json, yaml, msgpack. zlib, bzip2 compression. Cryptographic message signing. Features Monitoring Scheduling app.conf.task_serializer = 'json' If you’re configuring many settings at once you can use update: app.conf.update( task_serializer='json', accept_content=['json'], # Ignore other content result_serializer='json', timezone='Europe/Oslo', enable_utc=True, ) For larger projects using a dedicated configuration module is useful, in fact you’re discouraged from hard coding periodic0 码力 | 1040 页 | 1.37 MB | 1 年前3
 Celery v4.0.1 Documentation• Memcached, • SQLAlchemy, Django ORM • Apache Cassandra, Elasticsearch • Serialization • pickle, json, yaml, msgpack. • zlib, bzip2 compression. • Cryptographic message signing. Features • Monitoring task_serializer = 'json' If you’re configuring many settings at once you can use update: app.conf.update( task_serializer='json', accept_content=['json'], # Ignore other content result_serializer='json', timezone='Europe/Oslo' broker_url = 'pyamqp://' result_backend = 'rpc://' task_serializer = 'json' result_serializer = 'json' accept_content = ['json'] timezone = 'Europe/Oslo' enable_utc = True To verify that your configuration0 码力 | 705 页 | 2.63 MB | 1 年前3 Celery v4.0.1 Documentation• Memcached, • SQLAlchemy, Django ORM • Apache Cassandra, Elasticsearch • Serialization • pickle, json, yaml, msgpack. • zlib, bzip2 compression. • Cryptographic message signing. Features • Monitoring task_serializer = 'json' If you’re configuring many settings at once you can use update: app.conf.update( task_serializer='json', accept_content=['json'], # Ignore other content result_serializer='json', timezone='Europe/Oslo' broker_url = 'pyamqp://' result_backend = 'rpc://' task_serializer = 'json' result_serializer = 'json' accept_content = ['json'] timezone = 'Europe/Oslo' enable_utc = True To verify that your configuration0 码力 | 705 页 | 2.63 MB | 1 年前3
 Celery 3.0 Documentation• Memcached, • SQLAlchemy, Django ORM • Apache Cassandra, Elasticsearch • Serialization • pickle, json, yaml, msgpack. • zlib, bzip2 compression. • Cryptographic message signing. Features • Monitoring task_serializer = 'json' If you’re configuring many settings at once you can use update: 22 Chapter 2. Contents Celery Documentation, Release 4.0.0 app.conf.update( task_serializer='json', accept_content=['json'] accept_content=['json'], # Ignore other content result_serializer='json', timezone='Europe/Oslo', enable_utc=True, ) For larger projects using a dedicated configuration module is useful, in fact you’re discouraged0 码力 | 703 页 | 2.60 MB | 1 年前3 Celery 3.0 Documentation• Memcached, • SQLAlchemy, Django ORM • Apache Cassandra, Elasticsearch • Serialization • pickle, json, yaml, msgpack. • zlib, bzip2 compression. • Cryptographic message signing. Features • Monitoring task_serializer = 'json' If you’re configuring many settings at once you can use update: 22 Chapter 2. Contents Celery Documentation, Release 4.0.0 app.conf.update( task_serializer='json', accept_content=['json'] accept_content=['json'], # Ignore other content result_serializer='json', timezone='Europe/Oslo', enable_utc=True, ) For larger projects using a dedicated configuration module is useful, in fact you’re discouraged0 码力 | 703 页 | 2.60 MB | 1 年前3
 Celery v4.0.0 Documentation• Memcached, • SQLAlchemy, Django ORM • Apache Cassandra, Elasticsearch • Serialization • pickle, json, yaml, msgpack. • zlib, bzip2 compression. • Cryptographic message signing. Features • Monitoring task_serializer = 'json' If you’re configuring many settings at once you can use update: 22 Chapter 2. Contents Celery Documentation, Release 4.0.0 app.conf.update( task_serializer='json', accept_content=['json'] accept_content=['json'], # Ignore other content result_serializer='json', timezone='Europe/Oslo', enable_utc=True, ) For larger projects using a dedicated configuration module is useful, in fact you’re discouraged0 码力 | 701 页 | 2.59 MB | 1 年前3 Celery v4.0.0 Documentation• Memcached, • SQLAlchemy, Django ORM • Apache Cassandra, Elasticsearch • Serialization • pickle, json, yaml, msgpack. • zlib, bzip2 compression. • Cryptographic message signing. Features • Monitoring task_serializer = 'json' If you’re configuring many settings at once you can use update: 22 Chapter 2. Contents Celery Documentation, Release 4.0.0 app.conf.update( task_serializer='json', accept_content=['json'] accept_content=['json'], # Ignore other content result_serializer='json', timezone='Europe/Oslo', enable_utc=True, ) For larger projects using a dedicated configuration module is useful, in fact you’re discouraged0 码力 | 701 页 | 2.59 MB | 1 年前3
共 51 条
- 1
- 2
- 3
- 4
- 5
- 6














