Unify redis config on production and test
cc @deep.chatterjee @leo-singer @philippe.grassia
The redis configurations on emfollow and emfollow-test are not the same right now.
Running diffs on config get *
on the two systems show these differences:
On test:
47) "auto-aof-rewrite-min-size"
48) "1073741824"
...
203) "save"
204) ""
On production:
47) "auto-aof-rewrite-min-size"
48) "67108864"
...
203) "save"
204) "900 1"
I think the test
config's save
variable, which controls how often the dump.rdb
file should be saved (see "Snapshotting" in https://redis.io/topics/persistence), should be set to "900 1" like it is on production.
Production's "auto-aof-rewrite-min-size" which does as it sounds, should be increased from the current 67 MB to something more similar to test's 1 GB. The current setting means that production redis will almost constantly be rewriting the aof file, which seems unnecessary.