Celery 2.3 DocumentationFastQueue(maxsize=0) Queue.Queue supporting the interface of TokenBucketQueue. clear() expected_time(tokens=1) items wait(block=True) exception celery.worker.buckets.RateLimitExceeded The token buckets from the first available bucket. Available as in, there is an item in the queue and you can consume tokens from it. get_bucket_for_type(task_name) Get the bucket for a particular task type. get_nowait() on get operations. Parameters • fill_rate – The rate in tokens/second that the bucket will be refilled. • capacity – Maximum number of tokens in the bucket. Default is 1. exception RateLimitExceeded0 码力 | 334 页 | 1.25 MB | 1 年前3
Celery 2.2 DocumentationFastQueue(maxsize=0) Queue.Queue supporting the interface of TokenBucketQueue. clear() expected_time(tokens=1) items wait(block=True) exception celery.worker.buckets.RateLimitExceeded The token buckets from the first available bucket. Available as in, there is an item in the queue and you can consume tokens from it. get_bucket_for_type(task_name) Get the bucket for a particular task type. get_nowait() on get operations. Parameters • fill_rate – The rate in tokens/second that the bucket will be refilled. • capacity – Maximum number of tokens in the bucket. Default is 1. exception RateLimitExceeded0 码力 | 314 页 | 1.26 MB | 1 年前3
Celery 2.1 DocumentationFastQueue(maxsize=0) Queue.Queue supporting the interface of TokenBucketQueue. clear() expected_time(tokens=1) items wait(block=True) exception celery.worker.buckets.RateLimitExceeded The token buckets from the first available bucket. Available as in, there is an item in the queue and you can consume tokens from it. get_bucket_for_type(task_name) Get the bucket for a particular task type. get_nowait() on get operations. Parameters • fill_rate – The rate in tokens/second that the bucket will be refilled. • capacity – Maximum number of tokens in the bucket. Default is 1. exception RateLimitExceeded0 码力 | 285 页 | 1.19 MB | 1 年前3
Celery 2.2 DocumentationFastQueue(maxsize=0) Queue.Queue supporting the interface of TokenBucketQueue. clear() expected_time(tokens=1) items wait(block=True) exception celery.worker.buckets.RateLimitExceeded The token buckets from the first available bucket. Available as in, there is an item in the queue and you can consume tokens from it. get_bucket_for_type(task_name) Get the bucket for a particular task type. get_nowait() queue on get operations. Parameters: fill_rate – The rate in tokens/second that the bucket will be refilled. capacity – Maximum number of tokens in the bucket. Default is 1. exception RateLimitExceeded0 码力 | 505 页 | 878.66 KB | 1 年前3
Celery 2.1 DocumentationFastQueue(maxsize=0) Queue.Queue supporting the interface of TokenBucketQueue. clear() expected_time(tokens=1) items wait(block=True) exception celery.worker.buckets.RateLimitExceeded The token buckets from the first available bucket. Available as in, there is an item in the queue and you can consume tokens from it. get_bucket_for_type(task_name) Get the bucket for a particular task type. get_nowait() queue on get operations. Parameters: fill_rate – The rate in tokens/second that the bucket will be refilled. capacity – Maximum number of tokens in the bucket. Default is 1. exception RateLimitExceeded0 码力 | 463 页 | 861.69 KB | 1 年前3
Celery 2.3 DocumentationFastQueue(maxsize=0) Queue.Queue supporting the interface of TokenBucketQueue. clear() expected_time(tokens=1) items wait(block=True) exception celery.worker.buckets.RateLimitExceeded The token buckets from the first available bucket. Available as in, there is an item in the queue and you can consume tokens from it. get_bucket_for_type(task_name) Get the bucket for a particular task type. get_nowait() queue on get operations. Parameters: fill_rate – The rate in tokens/second that the bucket will be refilled. capacity – Maximum number of tokens in the bucket. Default is 1. exception RateLimitExceeded0 码力 | 530 页 | 900.64 KB | 1 年前3
Celery 2.4 DocumentationFastQueue(maxsize=0) Queue.Queue supporting the interface of TokenBucketQueue. clear() expected_time(tokens=1) items wait(block=True) exception celery.worker.buckets.RateLimitExceeded The token buckets from the first available bucket. Available as in, there is an item in the queue and you can consume tokens from it. get_bucket_for_type(task_name) Get the bucket for a particular task type. get_nowait() on get operations. Parameters • fill_rate – The rate in tokens/second that the bucket will be refilled. • capacity – Maximum number of tokens in the bucket. Default is 1. exception RateLimitExceeded0 码力 | 395 页 | 1.54 MB | 1 年前3
Celery 2.4 DocumentationFastQueue(maxsize=0) Queue.Queue supporting the interface of TokenBucketQueue. clear() expected_time(tokens=1) items wait(block=True) exception celery.worker.buckets.RateLimitExceeded The token buckets from the first available bucket. Available as in, there is an item in the queue and you can consume tokens from it. get_bucket_for_type(task_name) Get the bucket for a particular task type. get_nowait() queue on get operations. Parameters: fill_rate – The rate in tokens/second that the bucket will be refilled. capacity – Maximum number of tokens in the bucket. Default is 1. exception RateLimitExceeded0 码力 | 543 页 | 957.42 KB | 1 年前3
Celery v5.0.1 Documentationroles on instances, you can set the BROKER_URL to: sqs:// and kombu will attempt to retrieve access tokens from the instance metadata. Options Region The default region is us-east-1 but you can select mbu.utils.limits.html#kombu.utils.limits.TokenBucket] instance implementing consume(tokens) and expected_time(tokens). TokenBucket implements the token bucket algorithm [https://en.wikipedia.org/wiki/Token_bucket] verify the information before submitting so that it doesn’t contain confidential information like API tokens and authentication credentials. E. Your issue might be tagged as Needs Test Case. A test case represents0 码力 | 2313 页 | 2.13 MB | 1 年前3
Celery v5.0.2 Documentationroles on instances, you can set the BROKER_URL to: sqs:// and kombu will attempt to retrieve access tokens from the instance metadata. Options Region The default region is us-east-1 but you can select mbu.utils.limits.html#kombu.utils.limits.TokenBucket] instance implementing consume(tokens) and expected_time(tokens). TokenBucket implements the token bucket algorithm [https://en.wikipedia.org/wiki/Token_bucket] verify the information before submitting so that it doesn’t contain confidential information like API tokens and authentication credentials. E. Your issue might be tagged as Needs Test Case. A test case represents0 码力 | 2313 页 | 2.14 MB | 1 年前3
共 47 条
- 1
- 2
- 3
- 4
- 5













