zaqar/tests/etc/wsgi_fifo_mongodb.conf
Flavio Percoco d9faff354d Split MongoDB's default implementation from FIFO's
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
2015-02-13 23:56:48 +01:00

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