fix start_since_day

This commit is contained in:
Tamo 2021-10-27 14:32:15 +02:00 committed by marin postma
parent 37ca50832c
commit ed750e8792
No known key found for this signature in database
GPG Key ID: 6088B7721C3E39F9

View File

@ -135,7 +135,7 @@ mod segment {
"database_size": stats.database_size,
"indexes_number": stats.indexes.len(),
"documents_number": number_of_documents,
"start_since_days": FIRST_START_TIMESTAMP.elapsed().as_secs() / 60 * 60 * 24, // one day
"start_since_days": FIRST_START_TIMESTAMP.elapsed().as_secs() / (60 * 60 * 24), // one day
},
"infos": infos,
})