diff --git a/config.go b/config.go index d4e5fda..a722a35 100644 --- a/config.go +++ b/config.go @@ -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 diff --git a/etc/ecix/birdwatcher.conf b/etc/ecix/birdwatcher.conf index 717ac85..61e3e3e 100644 --- a/etc/ecix/birdwatcher.conf +++ b/etc/ecix/birdwatcher.conf @@ -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