Skip to content

Commit

Permalink
s/fetch_one/fetch_optional/g
Browse files Browse the repository at this point in the history
  • Loading branch information
maplant committed Aug 14, 2024
1 parent 34063fa commit b6e173a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion file_store/src/file_info_poller.rs
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ impl FileInfoPollerState for sqlx::Pool<sqlx::Postgres> {
.bind(process_name)
.bind(file_type)
.bind(MAX_SIZE_OF_FILES_PROCESSED_TABLE - 1)
.fetch_one(self)
.fetch_optional(self)
.await
.map_err(Error::from)
}
Expand Down

0 comments on commit b6e173a

Please sign in to comment.