comparison examples/blog/src/lib/Db.luan @ 1407:1979cff9aad2

add sql/Web_query
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 20 Sep 2019 17:00:30 -0600
parents ef1620aa99cb
children 732b5de211fc
comparison
equal deleted inserted replaced
1406:8187ddb0e827 1407:1979cff9aad2
36 end 36 end
37 37
38 Db.db = Db.new("site:/private/local/lucene") 38 Db.db = Db.new("site:/private/local/lucene")
39 39
40 Db.db.restore_from_postgres() 40 Db.db.restore_from_postgres()
41 Thread.schedule( Db.db.check, { delay=0, repeating_delay=Time.period{minutes=1}, id="blog-db-check" } ) 41 Thread.schedule( Db.db.check, { delay=0, repeating_delay=Time.period{hours=1}, id="blog-db-check" } )
42 42
43 return Db 43 return Db