@camstack/addon-tailscale 1.2.15 → 1.2.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/tailscale.addon.js +11 -11
- package/dist/client/tailscale.addon.mjs +11 -11
- package/dist/{dist-C8p6RC4p.js → dist-CDYOSmZP.js} +2689 -85
- package/dist/{dist-C_wvVtn8.mjs → dist-uBwggMrS.mjs} +2684 -86
- package/dist/ingress/tailscale-ingress.addon.js +1 -1
- package/dist/ingress/tailscale-ingress.addon.mjs +1 -1
- package/package.json +1 -1
|
@@ -24,7 +24,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
24
24
|
enumerable: true
|
|
25
25
|
}) : target, mod));
|
|
26
26
|
//#endregion
|
|
27
|
-
const require_dist = require("../dist-
|
|
27
|
+
const require_dist = require("../dist-CDYOSmZP.js");
|
|
28
28
|
let node_child_process = require("node:child_process");
|
|
29
29
|
let node_util = require("node:util");
|
|
30
30
|
let node_fs = require("node:fs");
|
|
@@ -569,17 +569,17 @@ var TailscaledDaemon = class {
|
|
|
569
569
|
*/
|
|
570
570
|
var DEFAULT_HUB_PORT = 4443;
|
|
571
571
|
/**
|
|
572
|
-
* Auto-rejoin backoff (#174)
|
|
573
|
-
*
|
|
574
|
-
*
|
|
572
|
+
* Auto-rejoin backoff (#174), on the SHARED boot-recovery schedule.
|
|
573
|
+
*
|
|
574
|
+
* It is armed from `initialize()` (`setImmediate(() => void this.tryAutoRejoin())`),
|
|
575
|
+
* so its first attempt races the rest of the node's boot — a `tailscaled` that
|
|
576
|
+
* has not finished coming up looks exactly like a peer that is gone. It used to
|
|
577
|
+
* wait five minutes before trying again; the two seconds-scale attempts in
|
|
578
|
+
* `BOOT_RECOVERY_BACKOFF_MS` cover that window, and the long tail is unchanged.
|
|
579
|
+
* The chain still stops at the cap, until a manual join (which resets the
|
|
580
|
+
* counter) or an addon restart.
|
|
575
581
|
*/
|
|
576
|
-
var AUTO_REJOIN_BACKOFF_MS =
|
|
577
|
-
5 * 6e4,
|
|
578
|
-
15 * 6e4,
|
|
579
|
-
30 * 6e4,
|
|
580
|
-
60 * 6e4,
|
|
581
|
-
60 * 6e4
|
|
582
|
-
];
|
|
582
|
+
var AUTO_REJOIN_BACKOFF_MS = require_dist.BOOT_RECOVERY_BACKOFF_MS;
|
|
583
583
|
var TailscaleClientAddon = class extends require_dist.BaseAddon {
|
|
584
584
|
/**
|
|
585
585
|
* The Tailscale CLI wrapper. `null` only in the degraded state where
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as EventCategory, i as BaseAddon, n as networkAccessCapability, r as BOOT_RECOVERY_BACKOFF_MS, t as meshNetworkCapability } from "../dist-uBwggMrS.mjs";
|
|
2
2
|
import { execFile, spawn } from "node:child_process";
|
|
3
3
|
import { promisify } from "node:util";
|
|
4
4
|
import * as fs from "node:fs";
|
|
@@ -541,17 +541,17 @@ var TailscaledDaemon = class {
|
|
|
541
541
|
*/
|
|
542
542
|
var DEFAULT_HUB_PORT = 4443;
|
|
543
543
|
/**
|
|
544
|
-
* Auto-rejoin backoff (#174)
|
|
545
|
-
*
|
|
546
|
-
*
|
|
544
|
+
* Auto-rejoin backoff (#174), on the SHARED boot-recovery schedule.
|
|
545
|
+
*
|
|
546
|
+
* It is armed from `initialize()` (`setImmediate(() => void this.tryAutoRejoin())`),
|
|
547
|
+
* so its first attempt races the rest of the node's boot — a `tailscaled` that
|
|
548
|
+
* has not finished coming up looks exactly like a peer that is gone. It used to
|
|
549
|
+
* wait five minutes before trying again; the two seconds-scale attempts in
|
|
550
|
+
* `BOOT_RECOVERY_BACKOFF_MS` cover that window, and the long tail is unchanged.
|
|
551
|
+
* The chain still stops at the cap, until a manual join (which resets the
|
|
552
|
+
* counter) or an addon restart.
|
|
547
553
|
*/
|
|
548
|
-
var AUTO_REJOIN_BACKOFF_MS =
|
|
549
|
-
5 * 6e4,
|
|
550
|
-
15 * 6e4,
|
|
551
|
-
30 * 6e4,
|
|
552
|
-
60 * 6e4,
|
|
553
|
-
60 * 6e4
|
|
554
|
-
];
|
|
554
|
+
var AUTO_REJOIN_BACKOFF_MS = BOOT_RECOVERY_BACKOFF_MS;
|
|
555
555
|
var TailscaleClientAddon = class extends BaseAddon {
|
|
556
556
|
/**
|
|
557
557
|
* The Tailscale CLI wrapper. `null` only in the degraded state where
|