forked from instructure/canvas-lms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
redis.yml.example
25 lines (24 loc) · 1.02 KB
/
redis.yml.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# # Canvas currently works without Redis, however some features require Redis and will be disabled.
# # Redis can also be used as a replacement for memcache, for both session store and caching.
#
# # The recommended setup is to define your redis server(s) in this file, and
# # then in cache_store.yml specify cache_store: redis_cache_store without any servers
# # listed, which will tell Canvas to use this same server list. You can also
# # reverse this by configuring servers in cache_store.yml, and referencing them
# # here with servers: cache_store
#
# production:
# servers:
# # list of redis servers to use in the ring
# - redis://redis01
# - redis://redis02
# # off, compact, or json
# # log_style: compact
test:
# only tests that are exercising the integration with redis require redis to run.
servers:
- redis://localhost
# warning: the redis database will get cleared before each test, so if you
# use this server for anything else, make sure to set aside a database id for
# these tests to use.
db: 1