Пример #1
0
def store():
    store = RedisTileStore(url,
                           name="test",
                           stop_if_empty=True,
                           timeout=0.1,
                           pending_timeout=0.5,
                           max_retries=2,
                           max_errors_age=1)
    store.delete_all()
    yield store
Пример #2
0
def store():
    store = RedisTileStore(url, name="test", stop_if_empty=True, timeout=1)
    store.delete_all()
    yield store
Пример #3
0
def store():
    store = RedisTileStore(url, name="test", stop_if_empty=True, timeout=0.1, pending_timeout=0.5, max_retries=2,
                           max_errors_age=1)
    store.delete_all()
    yield store