~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to start-loggerhead.py

  • Committer: Robey Pointer
  • Date: 2007-01-16 03:52:29 UTC
  • Revision ID: robey@lag.net-20070116035229-sv7yzfby4qrb8v8e
use "public_branch" as the config key since that seems to be what everyone
else is doing.

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
        value = keytype(value)
70
70
        turbogears.config.update({ key: value })
71
71
 
 
72
 
72
73
if not foreground:
73
74
    sys.stderr.write('\n')
74
75
    sys.stderr.write('Launching loggerhead into the background.\n')
86
87
from loggerhead.controllers import Root
87
88
 
88
89
# re-index every 6 hours
89
 
 
90
 
index_freq = config.get('cache_rebuild_frequency', 6 * 3600)
 
90
index_freq = 6 * 3600
91
91
turbogears.scheduler.add_interval_task(initialdelay=1, interval=index_freq, action=Root._check_rebuild)
92
92
 
93
93
try: