Allow disabling the physical storage cache with 'disable_cache'.

Fixes #674.
This commit is contained in:
Jeff Mitchell
2015-10-12 12:55:02 -04:00
parent 9549d9e4bf
commit 676970574b
6 changed files with 17 additions and 1 deletions

View File

@@ -36,6 +36,7 @@ func TestLoadConfigFile(t *testing.T) {
DisableHostname: false,
},
DisableCache: true,
DisableMlock: true,
MaxLeaseTTL: 10 * time.Hour,
@@ -128,6 +129,7 @@ func TestLoadConfigDir(t *testing.T) {
}
expected := &Config{
DisableCache: true,
DisableMlock: true,
Listeners: []*Listener{