-
Notifications
You must be signed in to change notification settings - Fork 12
/
config.yml
79 lines (70 loc) · 2.06 KB
/
config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# This is the main configuration file of your Dancer2 app
# env-related settings should go to environments/$env.yml
# all the settings in this file will be loaded at Dancer's startup.
# Your application's name
appname: "grepcpan"
# The default layout to use for your application (located in
# views/layouts/main.tt)
layout: "main"
# when the charset is set to UTF-8 Dancer2 will handle for you
# all the magic of encoding and decoding. You should not care
# about unicode within your app when this setting is set (recommended).
charset: "UTF-8"
# template engine
# simple: default and very basic template engine
# template_toolkit: TT
#template: "simple"
template: "template_toolkit"
engines:
template:
template_toolkit:
start_tag: '<%'
end_tag: '%>'
# session engine
#
# Simple: in-memory session store - Dancer2::Session::Simple
# YAML: session stored in YAML files - Dancer2::Session::YAML
#
# Check out metacpan for other session storage options:
# https://metacpan.org/search?q=Dancer2%3A%3ASession&search_type=modules
#
# Default value for 'cookie_name' is 'dancer.session'. If you run multiple
# Dancer apps on the same host then you will need to make sure 'cookie_name'
# is different for each app.
#
#engines:
# session:
# Simple:
# cookie_name: testapp.session
#
#engines:
# session:
# YAML:
# cookie_name: eshop.session
# is_secure: 1
# is_http_only: 1
grepcpan:
demo: 0
nocache: 0
maxworkers: 1000
timeout:
# the main process returning the http request to the user ( in seconds )
user_search: 18
# the grep process running in background ( in seconds )
grep_search: 900
cookie:
history_name: 'lastsearch'
history_size: 20
limit:
files_per_search: 60
files_git_run_bg: 2000
distros_per_page: 30
search_context: 5
search_context_distro: 10
search_context_file: 60
gitrepo: '/home/toddr/metacpan-cpan-extracted'
binaries:
git: '/home/atoomic/bin/git'
cache:
directory: '~APPDIR~/var/tmp'
version: '2.02'