source: project/release/4/chickadee/trunk/chickadee-config.scm @ 27117

Last change on this file since 27117 was 27117, checked in by Jim Ursetto, 9 years ago

chickadee 0.10.1: Limit match result set size (requires chicken-doc 0.4.4) to prevent runaway memory usage. Also added apparmor profile

File size: 1.7 KB
Line 
1;;; Chickadee chicken-doc server configuration file
2
3;; chickadee changes to the directory holding the conf-file on startup,
4;; so all paths below are relative to that path.
5
6(use chickadee spiffy uri-common)   ;; REQUIRED.  Do not remove.
7(use (only chicken-doc-html syntax-highlighter colorize prettify-js))
8(define uri uri-reference)          ;; A convenient alias.
9
10;;; Main config
11
12(root-path "root")
13(server-port 8080)
14
15;; Logging.  If commented out, the defaults will be used:
16;; access, debug and AJAX logs are disabled, and error logs go to stderr.
17
18;(access-log "logs/access.log")
19;(error-log "logs/error.log")
20;(debug-log (current-error-port))
21;(ajax-log "logs/ajax.log")         ;; CPU intensive; not recommended for production.
22
23;; An even number of connections is desirable as user agents
24;; usually open two (keep-alive) connections per hostname.
25(max-connections 8)
26(cdoc-uri (uri "/cdoc"))
27(chickadee-uri (uri "/chickadee"))
28(incremental-search-uri (uri "/cdoc/ajax/prefix"))
29(chickadee-css-files (list (uri "/cdoc/chickadee.css")))
30(chickadee-early-js-files (list (uri "/cdoc/modernizr.respond.93248.js")))
31(chickadee-js-files (list (uri "http://code.jquery.com/jquery-1.4.4.min.js")
32                          (uri "/cdoc/chickadee-jquery.js")
33                          ;(uri "/cdoc/prettify-bundle.js")  ;; Uncomment if using prettify-js highlighter.
34                          ))
35
36(maximum-match-results 250)
37(maximum-match-signatures 250)
38(incremental-search 15)
39(incremental-search-delay 50)
40(cache-nodes-for 300)
41(cache-static-content-for 1800)
42
43;; (syntax-highlighter prettify-js)   ;; Uncomment to use prettify-js instead of colorize
44
45(last-modified (current-seconds))
46
47;;; debugging
48
49(%chickadee:debug-incremental-search-latency 0)
50
51;;; start
52
Note: See TracBrowser for help on using the repository browser.