Mercurial Hosting > luan
comparison src/luan/modules/lucene/Lucene.luan @ 1404:9882c053d26f
minor
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Wed, 18 Sep 2019 04:51:17 -0600 |
parents | 27efb1fcbcb5 |
children | 5b8f76e26ab7 |
comparison
equal
deleted
inserted
replaced
1403:5e1075226662 | 1404:9882c053d26f |
---|---|
159 logger.info "backup" | 159 logger.info "backup" |
160 end | 160 end |
161 end | 161 end |
162 schedule( backup, { | 162 schedule( backup, { |
163 repeating_delay = repeating_delay or Time.period{minutes=10} | 163 repeating_delay = repeating_delay or Time.period{minutes=10} |
164 run_on_close = true | |
165 daemon = true | |
166 } ) | 164 } ) |
167 end | 165 end |
168 | 166 |
169 function index.zip(zip_file) | 167 function index.zip(zip_file) |
170 index.snapshot( function(dir_path,file_names) | 168 index.snapshot( function(dir_path,file_names) |