Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Commit

Permalink
Revert "cache: temporary disable from default config"
Browse files Browse the repository at this point in the history
This reverts commit 5732f1b.
  • Loading branch information
Markus Raab committed May 29, 2019
1 parent 54a4c01 commit b07ea95
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/libs/elektra/mount.c
Original file line number Diff line number Diff line change
Expand Up @@ -358,11 +358,11 @@ KeySet * elektraDefaultGlobalConfig (void)

// TODO: this is a poor way of detecting whether cache is compiled, but simply
// matching against cache might fail because of other plugins (e.g. "cachefilter")
// if (strstr (ELEKTRA_PLUGINS, ";cache;") != NULL)
// {
// ksAppendKey (config, keyNew ("system/elektra/globalplugins/postgetcache", KEY_VALUE, "cache", KEY_END));
// ksAppendKey (config, keyNew ("system/elektra/globalplugins/pregetcache", KEY_VALUE, "cache", KEY_END));
// }
if (strstr (ELEKTRA_PLUGINS, ";cache;") != NULL)
{
ksAppendKey (config, keyNew ("system/elektra/globalplugins/postgetcache", KEY_VALUE, "cache", KEY_END));
ksAppendKey (config, keyNew ("system/elektra/globalplugins/pregetcache", KEY_VALUE, "cache", KEY_END));
}

return config;
}
Expand Down

0 comments on commit b07ea95

Please sign in to comment.