diff --git a/src/photo/db/query.ts b/src/photo/db/query.ts index efd75ea5..d8b1f3d9 100644 --- a/src/photo/db/query.ts +++ b/src/photo/db/query.ts @@ -506,7 +506,7 @@ export const getOutdatedPhotos = () => safelyQueryPhotos( () => query(` SELECT * FROM photos ${outdatedWhereClause} - ORDER BY created_at ASC + ORDER BY created_at DESC LIMIT 1000 `, outdatedValues,