mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
Why: * When a directory sync occurs, all groups in the DB need to be pulled in case a synced group needs to be resurrected. Prior to adding the directory sync deletion circuit breaker the app would "re-delete" already deleted groups. This was basically a no-op, however, once the deletion circuit breaker was put in the deletion of already deleted groups had the possibility of throwing off the circuit breaker and cause it to fail a directory sync when it was not needed, due to making it seem as though too many groups were being deleted. This commit makes sure we don't add already deleted groups to the list of groups needing to be deleted for a given sync. Fixes: #9364