deploy updates

This commit is contained in:
buenosairesam
2026-01-26 21:39:21 -03:00
parent 3122facaba
commit de2ea3b7cb
6 changed files with 205 additions and 130 deletions

View File

@@ -59,6 +59,7 @@ def sync():
log.info("Resuming from saved token")
watch_kwargs = {"resume_after": resume_token} if resume_token else {}
watch_kwargs["full_document"] = "updateLookup" # Get full doc on updates
# Watch for inserts, updates, and replaces on the database
pipeline = [{"$match": {"operationType": {"$in": ["insert", "update", "replace"]}}}]