This commit is contained in:
parent
05b5bc30f2
commit
eebd2f3d96
@ -116,7 +116,6 @@ gauge_queue_frames.labels("hold").set(0)
|
||||
gauge_queue_frames.labels("upload").set(0)
|
||||
counter_frames.labels("motion").inc(0)
|
||||
|
||||
|
||||
assert SLIDE_WINDOW <= 8 # This is 256 frames which should be enough
|
||||
|
||||
|
||||
@ -273,9 +272,7 @@ async def motion_detector(reference_frame, download_queue, upload_queue):
|
||||
"screenshots": [],
|
||||
"action": "event",
|
||||
}
|
||||
},
|
||||
upsert = True,
|
||||
return_document=ReturnDocument.AFTER)
|
||||
}, upsert=True, return_document=ReturnDocument.AFTER)
|
||||
app.ctx.event_id = event_id = result["_id"]
|
||||
|
||||
# Handle buffering frames prior event start
|
||||
|
Loading…
Reference in New Issue
Block a user