mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
fix: partner and album backfill acks (#19371)
fix: partner sync being entirely broken
This commit is contained in:
parent
a04c6ed80d
commit
0b44d4b6f2
4 changed files with 103 additions and 29 deletions
|
|
@ -130,7 +130,7 @@ from
|
|||
where
|
||||
"ownerId" = $1
|
||||
and "updatedAt" < now() - interval '1 millisecond'
|
||||
and "updateId" < $2
|
||||
and "updateId" <= $2
|
||||
and "updateId" >= $3
|
||||
order by
|
||||
"updateId" asc
|
||||
|
|
@ -274,7 +274,7 @@ from
|
|||
where
|
||||
"assets"."ownerId" = $1
|
||||
and "exif"."updatedAt" < now() - interval '1 millisecond'
|
||||
and "exif"."updateId" < $2
|
||||
and "exif"."updateId" <= $2
|
||||
and "exif"."updateId" >= $3
|
||||
order by
|
||||
"exif"."updateId" asc
|
||||
|
|
@ -418,7 +418,7 @@ from
|
|||
where
|
||||
"albumsId" = $1
|
||||
and "updatedAt" < now() - interval '1 millisecond'
|
||||
and "updateId" < $2
|
||||
and "updateId" <= $2
|
||||
and "updateId" >= $3
|
||||
order by
|
||||
"updateId" asc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue