Commit Graph

2699 Commits

Author SHA1 Message Date
Ask Solem 1bd9ac8f97 Use US spelling of cancelled -> canceled 2016-02-01 17:08:52 -08:00
Sergey Azovskov e2a304ef2d [sentinel] Proper work when missing redis or redis.sentinel modules 2016-01-20 12:46:23 -08:00
Sergey Azovskov 57322c22ab [sentinel] Simple unittests for RedisSentinel transport support 2016-01-20 12:46:14 -08:00
Sergey Azovskov e15a41382f [sentinel] Use async when needed and change disconnect order 2016-01-20 12:46:06 -08:00
Sergey Azovskov 100db156a6 [sentinel] Support for ANY object from unittest.mock 2016-01-20 12:45:52 -08:00
Sergey Azovskov bec9fd9fc7 [sentinel] Breake infinite loop of calls _disconnect_pools->_on_connection_disconnect->_disconnect_pools 2016-01-20 12:45:47 -08:00
Sergey Azovskov 0d75ff703d [sentinel] Simple test to check we could properly create all class structure and init classes 2016-01-20 12:45:39 -08:00
Sergey Azovskov 5b49ba673e [sentinel] Put *real* modules back, after mocking it 2016-01-20 12:45:31 -08:00
Sergey Azovskov a46dba8f2e [sentinel] Support for default port and async connetions 2016-01-20 12:45:23 -08:00
Sergey Azovskov 96df86c707 [sentinel] Default params and better doc 2016-01-20 12:45:00 -08:00
Ask Solem 6ba24cdfaf Adds Lorenzo Mancini to AUTHORS 2016-01-20 12:44:59 -08:00
Ask Solem 89ae78d3ea Adds Sergey Azovskov to AUTHORS 2016-01-20 12:44:59 -08:00
Lorenzo Mancini b331a2af94 SentinelChannel with Redis Sentinel support 2016-01-20 12:44:52 -08:00
Ask Solem 90bf33f9a8 [SQS] Fixes tests on Python 3 2016-01-12 21:14:43 -08:00
Ask Solem fe297254b5 [Redis] as_uri() gives gibberish when redis+socket:// is used. Closes celery/celery#2995 2016-01-12 17:11:09 -08:00
Ask Solem c581094e92 Fixes build 2016-01-12 17:10:12 -08:00
Ask Solem e757957f68 Updates copyright year 2016-01-12 11:48:10 -08:00
Ask Solem 70d4c34a00 logging.NullHandler now available in Python 2.7 2016-01-05 15:27:32 -08:00
Ask Solem 237be6066d Fixes typo exchange_types -> exchange_type 2015-12-29 15:25:41 -08:00
Ask Solem 7fc856cffc Oops, fix for previous commit (Issue #550) 2015-12-23 14:23:08 -08:00
Ask Solem 8599aed98c Redis: Never reuse the consumer connection (Issue #550) 2015-12-23 14:14:44 -08:00
Ask Solem 84a92f8d38 Merge branch 'master' of github.com:celery/kombu 2015-12-18 14:59:18 -08:00
Ask Solem 4efd57eae9 Removes deprecated Consumer.add_queue_from_dict 2015-12-18 14:59:11 -08:00
Ask Solem ec18cf8144 Consumer: Now keeps track of queues with a map instead of list giving O(n) cancel_by_queue 2015-12-18 14:58:47 -08:00
Ask Solem 85a82cc62e Fixes build 2015-12-18 14:52:33 -08:00
Ask Solem Hoel d6f5f5a21b Merge pull request #384 from rhcarvalho/patch-1
Update connection.py
2015-12-16 11:49:16 -08:00
Ask Solem 4d15ea542e No log for event unregistered. Closes #549 2015-12-16 11:44:56 -08:00
Ask Solem 2b5cd30e52 Message.ack now supports the multiple argument 2015-12-16 11:43:39 -08:00
Ask Solem dc95650a74 Keep old South migrations in kombu.transport.django.south_migrations 2015-12-14 13:32:18 -08:00
Ask Solem a950fcdab5 Pidbox: Mailbox now supports producer_pool argument 2015-12-14 12:00:14 -08:00
Ask Solem 9b634865c4 pyamqp: Only raise on first EINTR if registered with event loop 2015-12-14 11:59:38 -08:00
Ask Solem 91dd48d018 pyamqp: connection can be None in _collect. Closes #2960 2015-12-12 17:52:10 -08:00
Ask Solem 325af35bca Fixes build 2015-12-10 13:21:33 -08:00
Ask Solem 7cbae80e5a Redis: Only override disconnect for async connections 2015-12-10 13:11:04 -08:00
Ask Solem 9ebac00662 ConnectionPool/ProducerPool now register after fork individually + cleanup 2015-12-09 14:09:17 -08:00
Ask Solem d46beeed8b flakes 2015-12-09 12:01:37 -08:00
Ask Solem 310fb0c223 Flakes for Issue #537 2015-12-09 12:00:52 -08:00
Alex Koshelev 914404d2fd Fix docstrings 2015-12-09 11:34:54 -08:00
Alex Koshelev 7da260742c Use natural sort for more FIFO semantic 2015-12-09 11:34:54 -08:00
Alex Koshelev 9e0ca603fe Opt-out for queue size calculation 2015-12-09 11:34:54 -08:00
Alex Koshelev 48ff650935 Another MongoDB transport clean up and refactor. Use of transport options facility to get connection defaults and collection names. 2015-12-09 11:34:54 -08:00
Alex Koshelev d480221a6e Rearrange methods at MongoDB channel class 2015-12-09 11:34:54 -08:00
Alex Koshelev f2e8b9791f Optional TTL support for MongoDB transport. AMQP TTL headers: x-message-ttl and x-expires are used to produce MongoDB's TTL indexes. 2015-12-09 11:34:54 -08:00
Alex Koshelev 94d31ca8eb Complete unit tests suit for MongoDB transport 2015-12-09 11:34:54 -08:00
Ask Solem 8357274ba8 Fixes build 2015-12-08 17:43:04 -08:00
Ask Solem 40722ea59c Pools: Default limit is now 10 2015-12-08 17:32:27 -08:00
Ask Solem 4221039de8 Pool.resize() now shrinks the pool by removing least recently used items.
This also removes the support for preloading connections as I doubt this is
useful for anyone and it complicated the code.
2015-12-08 17:31:26 -08:00
Ask Solem d733e70e77 Pools: set_limit can now shrink pool as long as pool is not in use 2015-12-08 16:32:33 -08:00
Ask Solem c53bed256d Reject+requeue messages that have no consumers. Closes celery/celery#2564. Closes celery/celery#2953 2015-12-08 13:02:58 -08:00
Ask Solem 7ece04ed25 Message.decode() is now cached. 2015-12-08 12:07:38 -08:00