mirror of https://github.com/celery/kombu.git
ssl option added to transport mongodb transport
This commit is contained in:
parent
3b76530568
commit
22990089d5
|
@ -133,7 +133,7 @@ class Channel(virtual.Channel):
|
|||
#
|
||||
# mongodb://[username:password@]host1[:port1][,host2[:port2],
|
||||
# ...[,hostN[:portN]]][/[?options]]
|
||||
mongoconn = Connection(host=hostname)
|
||||
mongoconn = Connection(host=hostname, ssl=conninfo.ssl)
|
||||
version = mongoconn.server_info()['version']
|
||||
if tuple(map(int, version.split('.')[:2])) < (1, 3):
|
||||
raise NotImplementedError(
|
||||
|
|
Loading…
Reference in New Issue