Skip to content

Commit 122f730

Browse files
date_recorded is the end time already
1 parent 68aad86 commit 122f730

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

database/src/pool/postgres.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -999,7 +999,7 @@ where
999999
async fn last_end_time(&self) -> Option<DateTime<Utc>> {
10001000
self.conn()
10011001
.query_opt(
1002-
"select date_recorded + (duration || 'seconds')::interval \
1002+
"select date_recorded \
10031003
from artifact_collection_duration \
10041004
order by date_recorded desc \
10051005
limit 1;",

0 commit comments

Comments
 (0)