Show More
@@ -1,28 +1,33 b'' | |||||
1 | ################################################################################ |
|
1 | ################################################################################ | |
2 | ################################################################################ |
|
2 | ################################################################################ | |
3 |
# |
|
3 | # hg-app - Pylons environment configuration # | |
4 | # # |
|
4 | # # | |
5 | # The %(here)s variable will be replaced with the parent directory of this file# |
|
5 | # The %(here)s variable will be replaced with the parent directory of this file# | |
6 | ################################################################################ |
|
6 | ################################################################################ | |
7 |
|
7 | |||
8 | [DEFAULT] |
|
8 | [DEFAULT] | |
9 | debug = true |
|
9 | debug = true | |
10 | ############################################ |
|
10 | ################################################################################ | |
11 | ## Uncomment and replace with the address ## |
|
11 | ## Uncomment and replace with the address which should receive ## | |
12 | ## which should receive any error reports ## |
|
12 | ## any error reports after application crash ## | |
13 | ############################################ |
|
13 | ## Additionally those settings will be used by hg-app mailing system ## | |
|
14 | ################################################################################ | |||
14 | #email_to = admin@localhost |
|
15 | #email_to = admin@localhost | |
|
16 | #error_email_from = paste_error@localhost | |||
|
17 | #app_email_from = hg-app-noreply@localhost | |||
|
18 | #error_message = | |||
|
19 | ||||
15 | #smtp_server = mail.server.com |
|
20 | #smtp_server = mail.server.com | |
16 | #error_email_from = paste_error@localhost |
|
|||
17 | #smtp_username = |
|
21 | #smtp_username = | |
18 | #smtp_password = |
|
22 | #smtp_password = | |
19 | #error_message = 'mercurial crash !' |
|
23 | #smtp_port = | |
|
24 | #smtp_use_tls = false | |||
20 |
|
25 | |||
21 | [server:main] |
|
26 | [server:main] | |
22 | ##nr of threads to spawn |
|
27 | ##nr of threads to spawn | |
23 | threadpool_workers = 5 |
|
28 | threadpool_workers = 5 | |
24 |
|
29 | |||
25 | ##max request before |
|
30 | ##max request before thread respawn | |
26 | threadpool_max_requests = 2 |
|
31 | threadpool_max_requests = 2 | |
27 |
|
32 | |||
28 | ##option to use threads of process |
|
33 | ##option to use threads of process |
@@ -7,16 +7,21 b'' | |||||
7 |
|
7 | |||
8 | [DEFAULT] |
|
8 | [DEFAULT] | |
9 | debug = true |
|
9 | debug = true | |
10 | ############################################ |
|
10 | ################################################################################ | |
11 | ## Uncomment and replace with the address ## |
|
11 | ## Uncomment and replace with the address which should receive ## | |
12 | ## which should receive any error reports ## |
|
12 | ## any error reports after application crash ## | |
13 | ############################################ |
|
13 | ## Additionally those settings will be used by hg-app mailing system ## | |
|
14 | ################################################################################ | |||
14 | #email_to = admin@localhost |
|
15 | #email_to = admin@localhost | |
|
16 | #error_email_from = paste_error@localhost | |||
|
17 | #app_email_from = hg-app-noreply@localhost | |||
|
18 | #error_message = | |||
|
19 | ||||
15 | #smtp_server = mail.server.com |
|
20 | #smtp_server = mail.server.com | |
16 | #error_email_from = paste_error@localhost |
|
|||
17 | #smtp_username = |
|
21 | #smtp_username = | |
18 | #smtp_password = |
|
22 | #smtp_password = | |
19 | #error_message = 'hp-app crash !' |
|
23 | #smtp_port = | |
|
24 | #smtp_use_tls = false | |||
20 |
|
25 | |||
21 | [server:main] |
|
26 | [server:main] | |
22 | ##nr of threads to spawn |
|
27 | ##nr of threads to spawn |
@@ -26,6 +26,7 b' setup(' | |||||
26 | "pysqlite", |
|
26 | "pysqlite", | |
27 | "whoosh==1.0.0b10", |
|
27 | "whoosh==1.0.0b10", | |
28 | "py-bcrypt", |
|
28 | "py-bcrypt", | |
|
29 | "celery", | |||
29 | ], |
|
30 | ], | |
30 | setup_requires=["PasteScript>=1.6.3"], |
|
31 | setup_requires=["PasteScript>=1.6.3"], | |
31 | packages=find_packages(exclude=['ez_setup']), |
|
32 | packages=find_packages(exclude=['ez_setup']), |
@@ -1,28 +1,33 b'' | |||||
1 | ################################################################################ |
|
1 | ################################################################################ | |
2 | ################################################################################ |
|
2 | ################################################################################ | |
3 |
# |
|
3 | # hg-app - Pylons environment configuration # | |
4 | # # |
|
4 | # # | |
5 | # The %(here)s variable will be replaced with the parent directory of this file# |
|
5 | # The %(here)s variable will be replaced with the parent directory of this file# | |
6 | ################################################################################ |
|
6 | ################################################################################ | |
7 |
|
7 | |||
8 | [DEFAULT] |
|
8 | [DEFAULT] | |
9 | debug = true |
|
9 | debug = true | |
10 | ############################################ |
|
10 | ################################################################################ | |
11 | ## Uncomment and replace with the address ## |
|
11 | ## Uncomment and replace with the address which should receive ## | |
12 | ## which should receive any error reports ## |
|
12 | ## any error reports after application crash ## | |
13 | ############################################ |
|
13 | ## Additionally those settings will be used by hg-app mailing system ## | |
|
14 | ################################################################################ | |||
14 | #email_to = admin@localhost |
|
15 | #email_to = admin@localhost | |
|
16 | #error_email_from = paste_error@localhost | |||
|
17 | #app_email_from = hg-app-noreply@localhost | |||
|
18 | #error_message = | |||
|
19 | ||||
15 | #smtp_server = mail.server.com |
|
20 | #smtp_server = mail.server.com | |
16 | #error_email_from = paste_error@localhost |
|
|||
17 | #smtp_username = |
|
21 | #smtp_username = | |
18 | #smtp_password = |
|
22 | #smtp_password = | |
19 | #error_message = 'mercurial crash !' |
|
23 | #smtp_port = | |
|
24 | #smtp_use_tls = false | |||
20 |
|
25 | |||
21 | [server:main] |
|
26 | [server:main] | |
22 | ##nr of threads to spawn |
|
27 | ##nr of threads to spawn | |
23 | threadpool_workers = 5 |
|
28 | threadpool_workers = 5 | |
24 |
|
29 | |||
25 | ##max request before |
|
30 | ##max request before thread respawn | |
26 | threadpool_max_requests = 2 |
|
31 | threadpool_max_requests = 2 | |
27 |
|
32 | |||
28 | ##option to use threads of process |
|
33 | ##option to use threads of process | |
@@ -56,7 +61,7 b' beaker.cache.super_short_term.expire=10' | |||||
56 | ### BEAKER SESSION #### |
|
61 | ### BEAKER SESSION #### | |
57 | #################################### |
|
62 | #################################### | |
58 | ## Type of storage used for the session, current types are |
|
63 | ## Type of storage used for the session, current types are | |
59 |
## |
|
64 | ## "dbm", "file", "memcached", "database", and "memory". | |
60 | ## The storage uses the Container API |
|
65 | ## The storage uses the Container API | |
61 | ##that is also used by the cache system. |
|
66 | ##that is also used by the cache system. | |
62 | beaker.session.type = file |
|
67 | beaker.session.type = file |
General Comments 0
You need to be logged in to leave comments.
Login now