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:
parent
52f5e9506a
commit
8552547afa
2 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue