blob: 9bb2415a26395821cd2542465ddc140fceb899ef [file] [log] [blame]
Akron40cc1d82017-05-10 17:58:16 +02001my $api = 'http://localhost:9999/api/v0.1/';
Nils Diewald5d1ffb42014-05-21 17:45:34 +00002{
Nils Diewalddd2d4e82014-05-31 17:08:33 +00003 Search => {
Nils Diewald2fe12e12015-03-06 16:47:06 +00004 engine => 'Kalamar::API',
Akron40cc1d82017-05-10 17:58:16 +02005 # Kustvakt server:
Akron3cd391e2017-03-29 23:42:54 +02006 api => $ENV{'KALAMAR_API'} // $api
Akrone8235be2016-06-27 11:02:18 +02007 },
8 Kalamar => {
Akron7d75ee32017-05-02 13:42:41 +02009 api => $ENV{'KALAMAR_API'} // $api,
Akron625fe0c2017-05-03 16:15:08 +020010 auth_support => 0
Nils Diewald2329e1d2014-06-12 16:07:57 +000011 },
Akron40cc1d82017-05-10 17:58:16 +020012 # Doesn't make much sense when published, but who cares ...
13 'TagHelpers-MailToChiffre' => {
14 method_name => 'PArok',
15 pattern_rotate => 673
16 },
Nils Diewald2329e1d2014-06-12 16:07:57 +000017 CHI => {
18 default => {
19 driver => 'FastMmap',
Nils Diewald94bae912014-09-22 13:40:31 +000020 root_dir => app->home . '/cache/data',
Akrondadacf12016-01-22 19:24:59 +010021 cache_size => '100m',
22 max_size => '100m'
23 },
24 user => {
25 l1_cache => {
Akron3cd391e2017-03-29 23:42:54 +020026 driver => 'FastMmap',
27 root_dir => app->home . '/cache/usermap',
28 cache_size => '50m',
29 max_size => '50m'
Akrondadacf12016-01-22 19:24:59 +010030 },
31 driver => 'File',
32 root_dir => app->home . '/cache/userfile',
33 max_key_length => 64,
34 max_size => '500m'
Nils Diewald2329e1d2014-06-12 16:07:57 +000035 }
Nils Diewald5d1ffb42014-05-21 17:45:34 +000036 }
37}