Celery v5.0.1 Documentationreturn 'hello world' Highly Available Workers and clients will automatically retry in the event of connection loss or failure, and some brokers support HA in way of Primary/Primary or Primary/Replica replication scheme are optional, and will default to localhost on port 6379, using database 0. If a Unix socket connection should be used, the URL needs to be in the format: redis+socket:///path/to/redis.sock Specifying setting: app.conf.result_backend_transport_options = {'master_name': "mymaster"} Connection timeouts To configure the connection timeouts for the Redis result backend, use the retry_policy key under resul0 码力 | 2313 页 | 2.13 MB | 1 年前3
Celery v5.0.2 Documentationreturn 'hello world' Highly Available Workers and clients will automatically retry in the event of connection loss or failure, and some brokers support HA in way of Primary/Primary or Primary/Replica replication scheme are optional, and will default to localhost on port 6379, using database 0. If a Unix socket connection should be used, the URL needs to be in the format: redis+socket:///path/to/redis.sock Specifying setting: app.conf.result_backend_transport_options = {'master_name': "mymaster"} Connection timeouts To configure the connection timeouts for the Redis result backend, use the retry_policy key under resul0 码力 | 2313 页 | 2.14 MB | 1 年前3
Celery v5.0.0 Documentationreturn 'hello world' Highly Available Workers and clients will automatically retry in the event of connection loss or failure, and some brokers support HA in way of Primary/Primary or Primary/Replica replication scheme are optional, and will default to localhost on port 6379, using database 0. If a Unix socket connection should be used, the URL needs to be in the format: redis+socket:///path/to/redis.sock Specifying setting: app.conf.result_backend_transport_options = {'master_name': "mymaster"} Connection timeouts To configure the connection timeouts for the Redis result backend, use the retry_policy key under resul0 码力 | 2309 页 | 2.13 MB | 1 年前3
Celery v5.0.5 Documentationreturn 'hello world' Highly Available Workers and clients will automatically retry in the event of connection loss or failure, and some brokers support HA in way of Primary/Primary or Primary/Replica replication scheme are optional, and will default to localhost on port 6379, using database 0. If a Unix socket connection should be used, the URL needs to be in the format: redis+socket:///path/to/redis.sock Specifying setting: app.conf.result_backend_transport_options = {'master_name': "mymaster"} Connection timeouts To configure the connection timeouts for the Redis result backend, use the retry_policy key under resul0 码力 | 2315 页 | 2.14 MB | 1 年前3
Celery 3.0 Documentationreturn 'hello world' Highly Available Workers and clients will automatically retry in the event of connection loss or failure, and some brokers support HA in way of Primary/Primary or Primary/Replica replication scheme are optional, and will default to localhost on port 6379, using database 0. If a Unix socket connection should be used, the URL needs to be in the format: redis+socket:///path/to/redis.sock Specifying This can also be useful to cache resources, For example, a base Task class that caches a database connection: from celery import Task class DatabaseTask(Task): _db = None @property def db(self):0 码力 | 2110 页 | 2.23 MB | 1 年前3
Celery v4.0.0 Documentationreturn 'hello world' Highly Available Workers and clients will automatically retry in the event of connection loss or failure, and some brokers support HA in way of Primary/Primary or Primary/Replica replication scheme are optional, and will default to localhost on port 6379, using database 0. If a Unix socket connection should be used, the URL needs to be in the format: redis+socket:///path/to/redis.sock Specifying This can also be useful to cache resources, For example, a base Task class that caches a database connection: from celery import Task class DatabaseTask(Task): _db = None @property def db(self):0 码力 | 2106 页 | 2.23 MB | 1 年前3
Celery v4.0.1 Documentationreturn 'hello world' Highly Available Workers and clients will automatically retry in the event of connection loss or failure, and some brokers support HA in way of Primary/Primary or Primary/Replica replication scheme are optional, and will default to localhost on port 6379, using database 0. If a Unix socket connection should be used, the URL needs to be in the format: redis+socket:///path/to/redis.sock Specifying This can also be useful to cache resources, For example, a base Task class that caches a database connection: from celery import Task class DatabaseTask(Task): _db = None @property def db(self):0 码力 | 1040 页 | 1.37 MB | 1 年前3
Celery v4.0.2 Documentationreturn 'hello world' Highly Available Workers and clients will automatically retry in the event of connection loss or failure, and some brokers support HA in way of Primary/Primary or Primary/Replica replication scheme are optional, and will default to localhost on port 6379, using database 0. If a Unix socket connection should be used, the URL needs to be in the format: redis+socket:///path/to/redis.sock Specifying This can also be useful to cache resources, For example, a base Task class that caches a database connection: from celery import Task class DatabaseTask(Task): _db = None @property def db(self):0 码力 | 1042 页 | 1.37 MB | 1 年前3
Celery 4.0 Documentationreturn 'hello world' Highly Available Workers and clients will automatically retry in the event of connection loss or failure, and some brokers support HA in way of Primary/Primary or Primary/Replica replication scheme are optional, and will default to localhost on port 6379, using database 0. If a Unix socket connection should be used, the URL needs to be in the format: redis+socket:///path/to/redis.sock Specifying This can also be useful to cache resources, For example, a base Task class that caches a database connection: from celery import Task class DatabaseTask(Task): _db = None @property def db(self):0 码力 | 1042 页 | 1.37 MB | 1 年前3
Celery v4.1.0 Documentationreturn 'hello world' Highly Available Workers and clients will automatically retry in the event of connection loss or failure, and some brokers support HA in way of Primary/Primary or Primary/Replica replication scheme are optional, and will default to localhost on port 6379, using database 0. If a Unix socket connection should be used, the URL needs to be in the format: redis+socket:///path/to/redis.sock Specifying This can also be useful to cache resources, For example, a base Task class that caches a database connection: from celery import Task class DatabaseTask(Task): _db = None @property def db(self):0 码力 | 1057 页 | 1.35 MB | 1 年前3
共 608 条
- 1
- 2
- 3
- 4
- 5
- 6
- 61













