motioneye
motioneye copied to clipboard
First cleanup call scheduled earlier instead of later
In line 39, seconds=min(settings.CLEANUP_INTERVAL, 60)
means it will be the configured interval, or 60, the lower of them. But we want the timeout to be at least 60 if I understand the comment in line 37 correctly.
https://github.com/motioneye-project/motioneye/blob/502614c699133b93f78d67492a6d2a502d366825/motioneye/cleanup.py#L33-L39