Created
October 13, 2010 23:02
-
-
Save preaction/625136 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| use strict; | |
| use warnings; | |
| use Config::JSON; | |
| for my $file ( @ARGV ) { | |
| my $conf = Config::JSON->new( $file ); | |
| $conf->set('cacheType' => 'WebGUI::Cache::CHI'); | |
| $conf->set('cache' => { | |
| "driver" => "FastMmap", | |
| "expires_in" => "6000", | |
| "expires_variance" => "0.20", | |
| "is_size_aware" => 1, | |
| "namespace" => $file, | |
| "root_dir" => "/tmp/WebGUICHI" | |
| } ); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment