motioneye icon indicating copy to clipboard operation
motioneye copied to clipboard

First cleanup call scheduled earlier instead of later

Open swooboo opened this issue 2 years ago • 0 comments

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

swooboo avatar Aug 08 '22 10:08 swooboo