Mercurial Hosting > lang
comparison src/lib/Db.luan @ 24:87fe70201aa8
courses work
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 31 Jul 2025 22:30:26 -0600 |
parents | 0c17c233c45a |
children |
comparison
equal
deleted
inserted
replaced
23:0c17c233c45a | 24:87fe70201aa8 |
---|---|
21 Db.indexed_fields.chat_user_id = Lucene.type.long | 21 Db.indexed_fields.chat_user_id = Lucene.type.long |
22 Db.indexed_fields.chat_updated = Lucene.type.long | 22 Db.indexed_fields.chat_updated = Lucene.type.long |
23 | 23 |
24 Db.indexed_fields.course_user_id = Lucene.type.long | 24 Db.indexed_fields.course_user_id = Lucene.type.long |
25 Db.indexed_fields.course_language = Lucene.type.string | 25 Db.indexed_fields.course_language = Lucene.type.string |
26 Db.indexed_fields.course_updated = Lucene.type.long | |
26 | 27 |
27 Db.restore_from_log() | 28 Db.restore_from_log() |
28 | 29 |
29 if Http.is_serving then | 30 if Http.is_serving then |
30 Thread.schedule( Db.check, { delay=0, repeating_delay=Time.period{hours=1} } ) | 31 Thread.schedule( Db.check, { delay=0, repeating_delay=Time.period{hours=1} } ) |