Add POST handler for triggering event manually #1
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Add request handler for manually triggering event, specifying the duration of this pseudo event.
Note that there is already SIGUSR1 handler which does something similar, make sure they both continue to work as expected and that they're both distinctly marked in MongoDB and that all three cases (real event, SIGUSR1, POST handler) are distinguishable.
https://git.k-space.ee/k-space/camera-motion-detect/src/branch/master/camdetect.py#L253