d9faff354d
The patch adds support for both FIFO and non-FIFO mongodb implementations. It takes advantage of the `uri` scheme to determine whether the FIFO implementation is needed or not. A follow-up patch will improve this driver loading phase to match what's been stated in the spec. DocImpact Partially-Implements blueprint: expose-storage-capabilities Change-Id: Ic25e1893d0bab640ac038097ed89e5b699d5490a
22 lines
407 B
Plaintext
22 lines
407 B
Plaintext
[DEFAULT]
|
|
debug = False
|
|
verbose = False
|
|
unreliable = True
|
|
|
|
[drivers]
|
|
transport = wsgi
|
|
storage = mongodb
|
|
|
|
[drivers:transport:wsgi]
|
|
port = 8888
|
|
|
|
[drivers:message_store:mongodb]
|
|
uri = mongodb.fifo://127.0.0.1:27017
|
|
database = message_zaqar_test_fifo
|
|
max_reconnect_attempts = 3
|
|
reconnect_sleep = 0.001
|
|
|
|
# NOTE(kgriffs): Reduce from the default of 1000 to reduce the
|
|
# duration of related tests
|
|
max_attempts = 5
|