File: config.py

package info (click to toggle)
serpento 0.3.6
  • links: PTS
  • area: main
  • in suites: woody
  • size: 292 kB
  • ctags: 381
  • sloc: python: 1,644; ansic: 666; perl: 157; sh: 116; makefile: 72
file content (20 lines) | stat: -rw-r--r-- 509 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
port = 2628 # default port
timeout = 60 # timeout for connection, in seconds

# debugging level
# anything except 0 means print debug messages
debuglevel = 0

# name of logfile - leave blank for stderr
#logfile = ''
logfile = '/var/log/serpento.log'

# caching = 1 or 0
# if 1, cPickle internal index list the first time
# serpento is started, and use cPickled cache the next times
# this improves startup time a lot
caching = 1

# directory to put cPickled cache files into
cachedir = '/var/cache/serpento'