this PR introduces an additional mutex to the sync-registries task which the task acquires prior to inserting data into the audit and organization table as part of a SQLite transaction. before running select queries, the org and audit models attempt to acquire this mutex to ensure the current transaction locking the DB has completed
this PR introduces an additional mutex to the sync-registries task which the task acquires prior to inserting data into the audit and organization table as part of a SQLite transaction. before running select queries, the org and audit models attempt to acquire this mutex to ensure the current transaction locking the DB has completed