fix unnecessary re-serializations
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
8eec78e9e0
commit
814b9e28b6
7 changed files with 9 additions and 11 deletions
|
@ -128,7 +128,7 @@ impl Service {
|
|||
|
||||
pub async fn last_check_for_updates_id(&self) -> u64 {
|
||||
self.db
|
||||
.qry(LAST_CHECK_FOR_UPDATES_COUNT)
|
||||
.get(LAST_CHECK_FOR_UPDATES_COUNT)
|
||||
.await
|
||||
.deserialized()
|
||||
.unwrap_or(0_u64)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue