Akron | ac61815 | 2017-09-12 15:57:51 +0200 | [diff] [blame^] | 1 | my $api = 'http://localhost:9999/kustvakt/'; |
Nils Diewald | 5d1ffb4 | 2014-05-21 17:45:34 +0000 | [diff] [blame] | 2 | { |
Nils Diewald | dd2d4e8 | 2014-05-31 17:08:33 +0000 | [diff] [blame] | 3 | Search => { |
Nils Diewald | 2fe12e1 | 2015-03-06 16:47:06 +0000 | [diff] [blame] | 4 | engine => 'Kalamar::API', |
Akron | 40cc1d8 | 2017-05-10 17:58:16 +0200 | [diff] [blame] | 5 | # Kustvakt server: |
Akron | 3cd391e | 2017-03-29 23:42:54 +0200 | [diff] [blame] | 6 | api => $ENV{'KALAMAR_API'} // $api |
Akron | e8235be | 2016-06-27 11:02:18 +0200 | [diff] [blame] | 7 | }, |
| 8 | Kalamar => { |
Akron | 7d75ee3 | 2017-05-02 13:42:41 +0200 | [diff] [blame] | 9 | api => $ENV{'KALAMAR_API'} // $api, |
Akron | 625fe0c | 2017-05-03 16:15:08 +0200 | [diff] [blame] | 10 | auth_support => 0 |
Nils Diewald | 2329e1d | 2014-06-12 16:07:57 +0000 | [diff] [blame] | 11 | }, |
Akron | 40cc1d8 | 2017-05-10 17:58:16 +0200 | [diff] [blame] | 12 | # Doesn't make much sense when published, but who cares ... |
| 13 | 'TagHelpers-MailToChiffre' => { |
| 14 | method_name => 'PArok', |
| 15 | pattern_rotate => 673 |
| 16 | }, |
Nils Diewald | 2329e1d | 2014-06-12 16:07:57 +0000 | [diff] [blame] | 17 | CHI => { |
| 18 | default => { |
| 19 | driver => 'FastMmap', |
Nils Diewald | 94bae91 | 2014-09-22 13:40:31 +0000 | [diff] [blame] | 20 | root_dir => app->home . '/cache/data', |
Akron | dadacf1 | 2016-01-22 19:24:59 +0100 | [diff] [blame] | 21 | cache_size => '100m', |
| 22 | max_size => '100m' |
| 23 | }, |
| 24 | user => { |
| 25 | l1_cache => { |
Akron | 3cd391e | 2017-03-29 23:42:54 +0200 | [diff] [blame] | 26 | driver => 'FastMmap', |
| 27 | root_dir => app->home . '/cache/usermap', |
| 28 | cache_size => '50m', |
| 29 | max_size => '50m' |
Akron | dadacf1 | 2016-01-22 19:24:59 +0100 | [diff] [blame] | 30 | }, |
| 31 | driver => 'File', |
| 32 | root_dir => app->home . '/cache/userfile', |
| 33 | max_key_length => 64, |
| 34 | max_size => '500m' |
Nils Diewald | 2329e1d | 2014-06-12 16:07:57 +0000 | [diff] [blame] | 35 | } |
Nils Diewald | 5d1ffb4 | 2014-05-21 17:45:34 +0000 | [diff] [blame] | 36 | } |
| 37 | } |