modified: CHANGELOG.md modified: netbox_dns_bridge/signals/netbox_dns_zones.py Defer catalog zone SOA serial increment to transaction.on_commit on zone deletion, matching the create/modify path and making delete rollback-safe

This commit is contained in:
sven committed 2026-08-12 01:21:11 +02:00
1 parent ddef4965d6
commit e8762bf807
2 files changed
+7 -1

No files matched your search

@@ -72,7 +72,10 @@ def zone_post_save(sender, instance, created, **kwargs):
@receiver(post_delete, sender=Zone)
def zone_post_delete(sender, instance, **kwargs):
catzm.increment_soa_serial()
def _on_commit():
catzm.increment_soa_serial()
transaction.on_commit(_on_commit)
def _notify_ns_enabled(zone) -> bool: