Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ApiListener: Sync runtime configs in order
Sync all objects in priority descending order, otherwise downtimes, comments etc. might be synced before their respective checkables, which would result in comments/downtimes being ignored by the other endpoint since it doesn't yet know about their checkables. Since the runtime config updates event doesn't trigger a reload on the remote endpoint, theses objects won't be synced again til the next reload.
- Loading branch information