Skip to content

Commit

Permalink
Increased DNS restore delay to improve recovery time
Browse files Browse the repository at this point in the history
  • Loading branch information
micthiesen committed Oct 26, 2024
1 parent 8a59370 commit 49d38a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dns.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { withSshConnection, type SNodeSSH } from "./ssh.js";
import { arrayItemsEqual } from "./utils.js";

let timeoutId: NodeJS.Timeout | null = null;
export const RESTORE_DELAY_MINUTES = 2;
export const RESTORE_DELAY_MINUTES = 5;
const RESTORE_DELAY = 1000 * 60 * RESTORE_DELAY_MINUTES;

export async function toggleDns(ssh: SNodeSSH) {
Expand Down

0 comments on commit 49d38a8

Please sign in to comment.