1
0
Fork 0
mirror of https://github.com/alice-lg/birdwatcher.git synced 2025-03-09 00:00:05 +01:00

configure redis caching

This commit is contained in:
Matthias Hannig 2019-01-24 17:16:19 +01:00
parent 52f5e9506a
commit 8552547afa
2 changed files with 5 additions and 0 deletions

View file

@ -22,6 +22,7 @@ type Config struct {
Bird bird.BirdConfig
Bird6 bird.BirdConfig
Parser bird.ParserConfig
Cache bird.CacheConfig
}
// Try to load configfiles as specified in the files

View file

@ -61,3 +61,7 @@ per_peer_tables = true
peer_protocol_prefix = 'ID'
pipe_protocol_prefix = 'P'
[cache]
use_redis = true
redis_server = "localhost:6379"
redis_db = 0