blob: ea6d5d7cdeec671d7ce642334a184539049241f1 [file] [log] [blame]
Akron778f96c2016-06-27 11:02:18 +02001# api => 'http://10.0.10.13:7070/api/v0.1/'
2my $api = 'http://localhost:9999/api/v0.1/';
3# my $api = 'http://10.0.10.51:7070/api/v0.1/';
4
Nils Diewald5d1ffb42014-05-21 17:45:34 +00005{
Nils Diewalddd2d4e82014-05-31 17:08:33 +00006 Search => {
Nils Diewald2fe12e12015-03-06 16:47:06 +00007 engine => 'Kalamar::API',
Akron778f96c2016-06-27 11:02:18 +02008 api => $api
9 },
10 Kalamar => {
11 api => $api
Nils Diewald2329e1d2014-06-12 16:07:57 +000012 },
13 CHI => {
14 default => {
15 driver => 'FastMmap',
Nils Diewald94bae912014-09-22 13:40:31 +000016 root_dir => app->home . '/cache/data',
Akron439c7652016-01-22 19:24:59 +010017 cache_size => '100m',
18 max_size => '100m'
19 },
20 user => {
21 l1_cache => {
22 driver => 'FastMmap',
23 root_dir => app->home . '/cache/usermap',
24 cache_size => '50m',
25 max_size => '50m'
26 },
27 driver => 'File',
28 root_dir => app->home . '/cache/userfile',
29 max_key_length => 64,
30 max_size => '500m'
Nils Diewald2329e1d2014-06-12 16:07:57 +000031 }
Nils Diewald1eba6572014-06-17 19:49:53 +000032 },
33 hypnotoad => {
Nils Diewalddd9d8d72014-06-23 15:09:37 +000034 listen => ['http://*:6666', 'http://*:5555'],
Nils Diewaldf2e02a92014-11-12 18:31:05 +000035 workers => 5,
Nils Diewaldd2b57372015-03-10 20:09:48 +000036 inactivity_timeout => 120,
37 proxy => 1
Nils Diewald002e8fb2014-06-22 14:27:01 +000038 },
Nils Diewald4e9fbcb2014-07-15 11:45:09 +000039 MailException => {
Nils Diewaldc46003b2015-05-07 15:55:35 +000040 from => join('@', 'korap', 'ids-mannheim.de'),
41 to => join('@', 'korap', 'ids-mannheim.de'),
Akronfef94782015-06-10 21:31:53 +020042 subject => '[KorAP] Kalamar crashed'
Nils Diewaldc46003b2015-05-07 15:55:35 +000043 },
44 # Doesn't make much sense when published, but who cares ...
45 'TagHelpers-MailToChiffre' => {
46 method_name => 'PArok',
47 pattern_rotate => 673
Nils Diewald5d1ffb42014-05-21 17:45:34 +000048 }
49}