Browse Source

fix SYNC_TTL > NS_SYNC_TTL

Miraty 1 year ago
parent
commit
0504a5ce27
2 changed files with 2 additions and 2 deletions
  1. 1 1
      jobs/ns-sync.php
  2. 1 1
      pg-view/ns/sync.php

+ 1 - 1
jobs/ns-sync.php

@@ -27,7 +27,7 @@ foreach (query('select', 'ns-syncs') as $sync) {
 		foreach (array_diff($source_records, $dest_records) as $value_to_add)
 			knotcZoneExec($sync['destination'], [
 				$sync['destination'],
-				SYNC_TTL,
+				NS_SYNC_TTL,
 				$type,
 				$value_to_add,
 			], 'add');

+ 1 - 1
pg-view/ns/sync.php

@@ -1,6 +1,6 @@
 <?php declare(strict_types=1); ?>
 <p>
-	<?= sprintf(_('AAAA, A and CAA records are regularly copied from the source domain to the target domain. Their TTLs are set to %s seconds.'), SYNC_TTL) ?>
+	<?= sprintf(_('AAAA, A and CAA records are regularly copied from the source domain to the target domain. Their TTLs are set to %s seconds.'), NS_SYNC_TTL) ?>
 </p>
 <p>
 	<?= _('Source domains that are not signed with DNSSEC are not synchronized. Synchronizations that remain broken may be deleted.') ?>