feat(main/db): Schedule regular search view refresh

Schedules refreshes of the database view used for search at one-minute
intervals.
This commit is contained in:
Vincent Ambo 2018-04-14 22:05:06 +02:00 committed by Vincent Ambo
parent 3e5b1098c6
commit 39d1cd64bc
5 changed files with 54 additions and 0 deletions

2
Cargo.lock generated
View file

@ -312,6 +312,8 @@ dependencies = [
"serde_derive 1.0.37 (registry+https://github.com/rust-lang/crates.io-index)",
"serde_json 1.0.13 (registry+https://github.com/rust-lang/crates.io-index)",
"tera 0.11.6 (registry+https://github.com/rust-lang/crates.io-index)",
"tokio 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
"tokio-timer 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
"url 1.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
"url_serde 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
]