My MariaDB server has an 8 hour wait_timeout.
With "occ files_external:notify" running for 8 hours the process dies due to "MySQL error 2006: mysql server has gone away". Which means after 8 hours some change events are not registered.
We need to reconnect when that happens. PR is on its way :)
@icewind1991