deploy updates
This commit is contained in:
@@ -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"]}}}]
|
||||
|
||||
Reference in New Issue
Block a user