~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to start-loggerhead.py

  • Committer: Martin Albisetti
  • Date: 2008-06-16 00:28:36 UTC
  • mto: (128.10.4 loggerhead.search)
  • mto: This revision was merged to the branch mainline in revision 182.
  • Revision ID: argentina@gmail.com-20080616002836-qsm1mkyyid4k0mqj
 * Remove text index caching
 * Remove revision caching
 * Remove timer to re-check cache every 6 hours
 * Tweak documentation and config file to reflect this
 * Add try: except: to searching

Show diffs side-by-side

added added

removed removed

Lines of Context:
110
110
    
111
111
    Root = Root(config)
112
112
    
113
 
    # re-index every 6 hours
114
 
    index_freq = config.get('cache_rebuild_frequency', 6 * 3600)
115
 
    turbogears.scheduler.add_interval_task(initialdelay=1, interval=index_freq, action=Root._check_rebuild)
116
 
 
117
113
    try:
118
114
        turbogears.start_server(Root)
119
115
    finally: