<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body><figure class="quote"><figcaption><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="1" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[1]</anchor-end> <cite xml:lang="en">Infinario/flask-redis-sentinel</cite>
(<time>2015-09-18 15:34:07 +09:00</time> 版)
<anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="https://github.com/infinario/flask-redis-sentinel">https://github.com/infinario/flask-redis-sentinel</anchor-external></p></figcaption><blockquote><p>You can configure Redis connection parameters using REDIS_URL Flask configuration variable with redis+sentinel URL scheme:</p><p>redis+sentinel://localhost:26379<strong>[</strong>,otherhost:26379,...<strong>]</strong>/mymaster/0</p><p>redis+sentinel://localhost:26379<strong>[</strong>,otherhost:26379,...<strong>]</strong>/mymaster/0?socket_timeout=0.1</p><p>redis+sentinel://localhost:26379<strong>[</strong>,otherhost:26379,...<strong>]</strong>/mymaster/0?sentinel_socket_timeout=0.1</p><p>redis+sentinel://:sentinel-secret-password@localhost:26379<strong>[</strong>,otherhost:26379,...<strong>]</strong>/mymaster/0?sentinel_socket_timeout=0.1</p></blockquote></figure></body></html>