@futo-org/backups-orchestrator-api 1.11.1 → 1.11.3

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.
@@ -147,33 +147,33 @@ declare const ImmichBackupStatusDto_base: import("nestjs-zod").ZodDto<z.ZodObjec
147
147
  percentDone: z.ZodNumber;
148
148
  scanning: z.ZodBoolean;
149
149
  estimatedEndAt: z.ZodOptional<z.ZodString>;
150
- bytesDone: z.ZodOptional<z.ZodNumber>;
151
- totalBytes: z.ZodOptional<z.ZodNumber>;
150
+ bytesDone: z.ZodOptional<z.ZodInt>;
151
+ totalBytes: z.ZodOptional<z.ZodInt>;
152
152
  currentFiles: z.ZodArray<z.ZodString>;
153
153
  }, z.core.$strip>>;
154
154
  outcome: z.ZodOptional<z.ZodObject<{
155
155
  errors: z.ZodArray<z.ZodString>;
156
156
  summary: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
157
157
  type: z.ZodLiteral<"backup">;
158
- filesNew: z.ZodNumber;
159
- filesChanged: z.ZodNumber;
160
- totalFilesProcessed: z.ZodNumber;
161
- totalBytesProcessed: z.ZodNumber;
158
+ filesNew: z.ZodInt;
159
+ filesChanged: z.ZodInt;
160
+ totalFilesProcessed: z.ZodInt;
161
+ totalBytesProcessed: z.ZodInt;
162
162
  snapshotId: z.ZodOptional<z.ZodString>;
163
163
  }, z.core.$strip>, z.ZodObject<{
164
164
  type: z.ZodLiteral<"restore">;
165
- filesRestored: z.ZodNumber;
166
- filesSkipped: z.ZodNumber;
167
- bytesRestored: z.ZodNumber;
165
+ filesRestored: z.ZodInt;
166
+ filesSkipped: z.ZodInt;
167
+ bytesRestored: z.ZodInt;
168
168
  }, z.core.$strip>, z.ZodObject<{
169
169
  type: z.ZodLiteral<"prune">;
170
- kept: z.ZodNumber;
171
- removed: z.ZodNumber;
170
+ kept: z.ZodInt;
171
+ removed: z.ZodInt;
172
172
  }, z.core.$strip>], "type">>;
173
173
  support: z.ZodOptional<z.ZodObject<{
174
174
  sessionId: z.ZodOptional<z.ZodString>;
175
- droppedLines: z.ZodNumber;
176
- localDroppedLines: z.ZodNumber;
175
+ droppedLines: z.ZodInt;
176
+ localDroppedLines: z.ZodInt;
177
177
  }, z.core.$strip>>;
178
178
  }, z.core.$strip>>;
179
179
  }, z.core.$strip>>;
@@ -12,33 +12,33 @@ export declare const JobSchema: z.ZodObject<{
12
12
  percentDone: z.ZodNumber;
13
13
  scanning: z.ZodBoolean;
14
14
  estimatedEndAt: z.ZodOptional<z.ZodString>;
15
- bytesDone: z.ZodOptional<z.ZodNumber>;
16
- totalBytes: z.ZodOptional<z.ZodNumber>;
15
+ bytesDone: z.ZodOptional<z.ZodInt>;
16
+ totalBytes: z.ZodOptional<z.ZodInt>;
17
17
  currentFiles: z.ZodArray<z.ZodString>;
18
18
  }, z.core.$strip>>;
19
19
  outcome: z.ZodOptional<z.ZodObject<{
20
20
  errors: z.ZodArray<z.ZodString>;
21
21
  summary: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
22
22
  type: z.ZodLiteral<"backup">;
23
- filesNew: z.ZodNumber;
24
- filesChanged: z.ZodNumber;
25
- totalFilesProcessed: z.ZodNumber;
26
- totalBytesProcessed: z.ZodNumber;
23
+ filesNew: z.ZodInt;
24
+ filesChanged: z.ZodInt;
25
+ totalFilesProcessed: z.ZodInt;
26
+ totalBytesProcessed: z.ZodInt;
27
27
  snapshotId: z.ZodOptional<z.ZodString>;
28
28
  }, z.core.$strip>, z.ZodObject<{
29
29
  type: z.ZodLiteral<"restore">;
30
- filesRestored: z.ZodNumber;
31
- filesSkipped: z.ZodNumber;
32
- bytesRestored: z.ZodNumber;
30
+ filesRestored: z.ZodInt;
31
+ filesSkipped: z.ZodInt;
32
+ bytesRestored: z.ZodInt;
33
33
  }, z.core.$strip>, z.ZodObject<{
34
34
  type: z.ZodLiteral<"prune">;
35
- kept: z.ZodNumber;
36
- removed: z.ZodNumber;
35
+ kept: z.ZodInt;
36
+ removed: z.ZodInt;
37
37
  }, z.core.$strip>], "type">>;
38
38
  support: z.ZodOptional<z.ZodObject<{
39
39
  sessionId: z.ZodOptional<z.ZodString>;
40
- droppedLines: z.ZodNumber;
41
- localDroppedLines: z.ZodNumber;
40
+ droppedLines: z.ZodInt;
41
+ localDroppedLines: z.ZodInt;
42
42
  }, z.core.$strip>>;
43
43
  }, z.core.$strip>>;
44
44
  }, z.core.$strip>;
@@ -54,33 +54,33 @@ declare const JobDto_base: import("nestjs-zod").ZodDto<z.ZodObject<{
54
54
  percentDone: z.ZodNumber;
55
55
  scanning: z.ZodBoolean;
56
56
  estimatedEndAt: z.ZodOptional<z.ZodString>;
57
- bytesDone: z.ZodOptional<z.ZodNumber>;
58
- totalBytes: z.ZodOptional<z.ZodNumber>;
57
+ bytesDone: z.ZodOptional<z.ZodInt>;
58
+ totalBytes: z.ZodOptional<z.ZodInt>;
59
59
  currentFiles: z.ZodArray<z.ZodString>;
60
60
  }, z.core.$strip>>;
61
61
  outcome: z.ZodOptional<z.ZodObject<{
62
62
  errors: z.ZodArray<z.ZodString>;
63
63
  summary: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
64
64
  type: z.ZodLiteral<"backup">;
65
- filesNew: z.ZodNumber;
66
- filesChanged: z.ZodNumber;
67
- totalFilesProcessed: z.ZodNumber;
68
- totalBytesProcessed: z.ZodNumber;
65
+ filesNew: z.ZodInt;
66
+ filesChanged: z.ZodInt;
67
+ totalFilesProcessed: z.ZodInt;
68
+ totalBytesProcessed: z.ZodInt;
69
69
  snapshotId: z.ZodOptional<z.ZodString>;
70
70
  }, z.core.$strip>, z.ZodObject<{
71
71
  type: z.ZodLiteral<"restore">;
72
- filesRestored: z.ZodNumber;
73
- filesSkipped: z.ZodNumber;
74
- bytesRestored: z.ZodNumber;
72
+ filesRestored: z.ZodInt;
73
+ filesSkipped: z.ZodInt;
74
+ bytesRestored: z.ZodInt;
75
75
  }, z.core.$strip>, z.ZodObject<{
76
76
  type: z.ZodLiteral<"prune">;
77
- kept: z.ZodNumber;
78
- removed: z.ZodNumber;
77
+ kept: z.ZodInt;
78
+ removed: z.ZodInt;
79
79
  }, z.core.$strip>], "type">>;
80
80
  support: z.ZodOptional<z.ZodObject<{
81
81
  sessionId: z.ZodOptional<z.ZodString>;
82
- droppedLines: z.ZodNumber;
83
- localDroppedLines: z.ZodNumber;
82
+ droppedLines: z.ZodInt;
83
+ localDroppedLines: z.ZodInt;
84
84
  }, z.core.$strip>>;
85
85
  }, z.core.$strip>>;
86
86
  }, z.core.$strip>, false>;
@@ -90,8 +90,8 @@ declare const JobProgressDto_base: import("nestjs-zod").ZodDto<z.ZodObject<{
90
90
  percentDone: z.ZodNumber;
91
91
  scanning: z.ZodBoolean;
92
92
  estimatedEndAt: z.ZodOptional<z.ZodString>;
93
- bytesDone: z.ZodOptional<z.ZodNumber>;
94
- totalBytes: z.ZodOptional<z.ZodNumber>;
93
+ bytesDone: z.ZodOptional<z.ZodInt>;
94
+ totalBytes: z.ZodOptional<z.ZodInt>;
95
95
  currentFiles: z.ZodArray<z.ZodString>;
96
96
  }, z.core.$strip>, false>;
97
97
  export declare class JobProgressDto extends JobProgressDto_base {
@@ -100,25 +100,25 @@ declare const JobOutcomeDto_base: import("nestjs-zod").ZodDto<z.ZodObject<{
100
100
  errors: z.ZodArray<z.ZodString>;
101
101
  summary: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
102
102
  type: z.ZodLiteral<"backup">;
103
- filesNew: z.ZodNumber;
104
- filesChanged: z.ZodNumber;
105
- totalFilesProcessed: z.ZodNumber;
106
- totalBytesProcessed: z.ZodNumber;
103
+ filesNew: z.ZodInt;
104
+ filesChanged: z.ZodInt;
105
+ totalFilesProcessed: z.ZodInt;
106
+ totalBytesProcessed: z.ZodInt;
107
107
  snapshotId: z.ZodOptional<z.ZodString>;
108
108
  }, z.core.$strip>, z.ZodObject<{
109
109
  type: z.ZodLiteral<"restore">;
110
- filesRestored: z.ZodNumber;
111
- filesSkipped: z.ZodNumber;
112
- bytesRestored: z.ZodNumber;
110
+ filesRestored: z.ZodInt;
111
+ filesSkipped: z.ZodInt;
112
+ bytesRestored: z.ZodInt;
113
113
  }, z.core.$strip>, z.ZodObject<{
114
114
  type: z.ZodLiteral<"prune">;
115
- kept: z.ZodNumber;
116
- removed: z.ZodNumber;
115
+ kept: z.ZodInt;
116
+ removed: z.ZodInt;
117
117
  }, z.core.$strip>], "type">>;
118
118
  support: z.ZodOptional<z.ZodObject<{
119
119
  sessionId: z.ZodOptional<z.ZodString>;
120
- droppedLines: z.ZodNumber;
121
- localDroppedLines: z.ZodNumber;
120
+ droppedLines: z.ZodInt;
121
+ localDroppedLines: z.ZodInt;
122
122
  }, z.core.$strip>>;
123
123
  }, z.core.$strip>, false>;
124
124
  export declare class JobOutcomeDto extends JobOutcomeDto_base {
@@ -136,33 +136,33 @@ declare const JobListResponseDto_base: import("nestjs-zod").ZodDto<z.ZodObject<{
136
136
  percentDone: z.ZodNumber;
137
137
  scanning: z.ZodBoolean;
138
138
  estimatedEndAt: z.ZodOptional<z.ZodString>;
139
- bytesDone: z.ZodOptional<z.ZodNumber>;
140
- totalBytes: z.ZodOptional<z.ZodNumber>;
139
+ bytesDone: z.ZodOptional<z.ZodInt>;
140
+ totalBytes: z.ZodOptional<z.ZodInt>;
141
141
  currentFiles: z.ZodArray<z.ZodString>;
142
142
  }, z.core.$strip>>;
143
143
  outcome: z.ZodOptional<z.ZodObject<{
144
144
  errors: z.ZodArray<z.ZodString>;
145
145
  summary: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
146
146
  type: z.ZodLiteral<"backup">;
147
- filesNew: z.ZodNumber;
148
- filesChanged: z.ZodNumber;
149
- totalFilesProcessed: z.ZodNumber;
150
- totalBytesProcessed: z.ZodNumber;
147
+ filesNew: z.ZodInt;
148
+ filesChanged: z.ZodInt;
149
+ totalFilesProcessed: z.ZodInt;
150
+ totalBytesProcessed: z.ZodInt;
151
151
  snapshotId: z.ZodOptional<z.ZodString>;
152
152
  }, z.core.$strip>, z.ZodObject<{
153
153
  type: z.ZodLiteral<"restore">;
154
- filesRestored: z.ZodNumber;
155
- filesSkipped: z.ZodNumber;
156
- bytesRestored: z.ZodNumber;
154
+ filesRestored: z.ZodInt;
155
+ filesSkipped: z.ZodInt;
156
+ bytesRestored: z.ZodInt;
157
157
  }, z.core.$strip>, z.ZodObject<{
158
158
  type: z.ZodLiteral<"prune">;
159
- kept: z.ZodNumber;
160
- removed: z.ZodNumber;
159
+ kept: z.ZodInt;
160
+ removed: z.ZodInt;
161
161
  }, z.core.$strip>], "type">>;
162
162
  support: z.ZodOptional<z.ZodObject<{
163
163
  sessionId: z.ZodOptional<z.ZodString>;
164
- droppedLines: z.ZodNumber;
165
- localDroppedLines: z.ZodNumber;
164
+ droppedLines: z.ZodInt;
165
+ localDroppedLines: z.ZodInt;
166
166
  }, z.core.$strip>>;
167
167
  }, z.core.$strip>>;
168
168
  }, z.core.$strip>>;
@@ -5,32 +5,32 @@ const JobSummarySchema = z
5
5
  .discriminatedUnion('type', [
6
6
  z.object({
7
7
  type: z.literal('backup'),
8
- filesNew: z.number(),
9
- filesChanged: z.number(),
10
- totalFilesProcessed: z.number(),
11
- totalBytesProcessed: z.number(),
8
+ filesNew: z.int(),
9
+ filesChanged: z.int(),
10
+ totalFilesProcessed: z.int(),
11
+ totalBytesProcessed: z.int(),
12
12
  snapshotId: z.string().optional(),
13
13
  }),
14
14
  z.object({
15
15
  type: z.literal('restore'),
16
- filesRestored: z.number(),
17
- filesSkipped: z.number(),
18
- bytesRestored: z.number(),
16
+ filesRestored: z.int(),
17
+ filesSkipped: z.int(),
18
+ bytesRestored: z.int(),
19
19
  }),
20
20
  z.object({
21
21
  type: z.literal('prune'),
22
- kept: z.number(),
23
- removed: z.number(),
22
+ kept: z.int(),
23
+ removed: z.int(),
24
24
  }),
25
25
  ])
26
26
  .meta({ id: 'JobSummaryDto' });
27
27
  const JobProgressSchema = z
28
28
  .object({
29
- percentDone: z.number(),
29
+ percentDone: z.number().meta({ format: 'double' }),
30
30
  scanning: z.boolean(),
31
31
  estimatedEndAt: z.string().optional(),
32
- bytesDone: z.number().optional(),
33
- totalBytes: z.number().optional(),
32
+ bytesDone: z.int().optional(),
33
+ totalBytes: z.int().optional(),
34
34
  currentFiles: z.array(z.string()),
35
35
  })
36
36
  .meta({ id: 'JobProgressDto' });
@@ -41,8 +41,8 @@ const JobOutcomeSchema = z
41
41
  support: z
42
42
  .object({
43
43
  sessionId: z.string().optional().describe('Support code to share with FUTO when the logs were streamed'),
44
- droppedLines: z.number().describe('Log lines that could not be streamed in time'),
45
- localDroppedLines: z.number().describe('Log lines that could not be written to the local support log'),
44
+ droppedLines: z.int().describe('Log lines that could not be streamed in time'),
45
+ localDroppedLines: z.int().describe('Log lines that could not be written to the local support log'),
46
46
  })
47
47
  .optional()
48
48
  .meta({ id: 'JobSupportDto' }),
@@ -1 +1 @@
1
- {"version":3,"file":"job.dto.js","sourceRoot":"","sources":["../../src/dto/job.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1C,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAEhD,MAAM,gBAAgB,GAAG,CAAC;KACvB,kBAAkB,CAAC,MAAM,EAAE;IAC1B,CAAC,CAAC,MAAM,CAAC;QACP,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC;QACzB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;QACpB,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;QACxB,mBAAmB,EAAE,CAAC,CAAC,MAAM,EAAE;QAC/B,mBAAmB,EAAE,CAAC,CAAC,MAAM,EAAE;QAC/B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;KAClC,CAAC;IACF,CAAC,CA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AmB,EAAE,CAAC,CAAC;AAEtG,MAAM,OAAO,MAAO,SAAQ,YAAY,CAAC,SAAS,CAAC;CAAG;AACtD,MAAM,OAAO,cAAe,SAAQ,YAAY,CAAC,iBAAiB,CAAC;CAAG;AACtE,MAAM,OAAO,aAAc,SAAQ,YAAY,CAAC,gBAAgB,CAAC;CAAG;AACpE,MAAM,OAAO,kBAAmB,SAAQ,YAAY,CAAC,qBAAqB,CAAC;CAAG;AAC9E,MAAM,OAAO,iBAAkB,SAAQ,YAAY,CAAC,oBAAoB,CAAC;CAAG"}
@@ -16,6 +16,7 @@ export type SupportLogEndpoint = {
16
16
  export type SupportLogShipperOptions = {
17
17
  maxBufferBytes: number;
18
18
  batchBytes: number;
19
+ maxInFlight: number;
19
20
  flushIntervalMs: number;
20
21
  maxAttempts: number;
21
22
  finishTimeoutMs: number;
@@ -29,9 +30,10 @@ export declare class SupportLogShipper {
29
30
  private bufferedBytes;
30
31
  private droppedSinceLastBatch;
31
32
  private seq;
32
- private draining?;
33
- private inFlight?;
33
+ private readonly inFlight;
34
+ private refreshing?;
34
35
  private timer?;
36
+ private finishing;
35
37
  private stopped;
36
38
  private readonly abort;
37
39
  droppedLines: number;
@@ -41,8 +43,9 @@ export declare class SupportLogShipper {
41
43
  private settle;
42
44
  private drop;
43
45
  private seal;
46
+ private dispatchSealed;
47
+ private dispatch;
44
48
  private drain;
45
- private sendSealed;
46
49
  private send;
47
50
  private post;
48
51
  private credentials;
@@ -6,6 +6,7 @@ const gzipAsync = promisify(gzip);
6
6
  const DEFAULT_OPTIONS = {
7
7
  maxBufferBytes: 64 * 1024 * 1024,
8
8
  batchBytes: 4 * 1024 * 1024,
9
+ maxInFlight: 4,
9
10
  flushIntervalMs: 2000,
10
11
  maxAttempts: 8,
11
12
  finishTimeoutMs: 30_000,
@@ -25,9 +26,10 @@ export class SupportLogShipper {
25
26
  bufferedBytes = 0;
26
27
  droppedSinceLastBatch = 0;
27
28
  seq = 0;
28
- draining;
29
- inFlight;
29
+ inFlight = new Map();
30
+ refreshing;
30
31
  timer;
32
+ finishing = false;
31
33
  stopped = false;
32
34
  abort = new AbortController();
33
35
  droppedLines = 0;
@@ -53,20 +55,23 @@ export class SupportLogShipper {
53
55
  }
54
56
  async finish() {
55
57
  clearInterval(this.timer);
58
+ this.finishing = true;
56
59
  this.seal();
57
- const drained = this.drain(true).then(() => true);
60
+ const drained = this.drain().then(() => true);
58
61
  const finished = await Promise.race([drained, sleep(this.options.finishTimeoutMs, false, { ref: false })]);
59
62
  this.stopped = true;
60
63
  if (!finished) {
61
64
  this.abort.abort();
62
65
  await Promise.race([drained, sleep(ABORT_GRACE_MS, false, { ref: false })]);
63
- this.settle(this.inFlight, false);
66
+ for (const inFlight of this.inFlight.keys()) {
67
+ this.settle(inFlight, false);
68
+ }
64
69
  }
65
70
  this.drop(this.sealed.reduce((total, batch) => total + batch.lines.length, 0));
66
71
  this.sealed = [];
67
72
  }
68
73
  settle(inFlight, delivered) {
69
- if (!inFlight || inFlight.settled) {
74
+ if (inFlight.settled) {
70
75
  return;
71
76
  }
72
77
  inFlight.settled = true;
@@ -83,47 +88,42 @@ export class SupportLogShipper {
83
88
  this.sealed.push(this.current);
84
89
  this.current = { lines: [], bytes: 0 };
85
90
  }
86
- if (!this.draining && this.sealed.length > 0) {
87
- void this.drain(false);
91
+ this.dispatchSealed();
92
+ }
93
+ dispatchSealed() {
94
+ const heldForFinal = this.finishing ? 1 : 0;
95
+ while (!this.stopped && this.inFlight.size < this.options.maxInFlight && this.sealed.length > heldForFinal) {
96
+ void this.dispatch(this.sealed.shift(), false);
88
97
  }
89
98
  }
90
- drain(final) {
91
- const previous = this.draining ?? Promise.resolve();
92
- const tracked = previous
93
- .then(() => this.sendSealed(final))
94
- .finally(() => {
95
- if (this.draining !== tracked) {
96
- return;
97
- }
98
- this.draining = undefined;
99
- if (this.sealed.length > 0 && !this.stopped) {
100
- void this.drain(false);
101
- }
99
+ dispatch(batch, final) {
100
+ this.bufferedBytes -= batch.bytes;
101
+ const inFlight = { lines: batch.lines.length, settled: false };
102
+ const sent = this.send(batch, inFlight, final).finally(() => {
103
+ this.inFlight.delete(inFlight);
104
+ this.dispatchSealed();
102
105
  });
103
- this.draining = tracked;
104
- return tracked;
106
+ this.inFlight.set(inFlight, sent);
107
+ return sent;
105
108
  }
106
- async sendSealed(final) {
107
- let finalSent = false;
108
- while (this.sealed.length > 0 && !this.stopped) {
109
- const batch = this.sealed.shift();
110
- this.bufferedBytes -= batch.bytes;
111
- const isLast = final && this.sealed.length === 0;
112
- finalSent = (await this.send(batch, isLast)) && isLast;
113
- }
114
- if (final && !this.stopped) {
115
- if (!finalSent) {
116
- await this.send({ lines: [], bytes: 0 }, true);
117
- }
118
- this.stopped = true;
109
+ async drain() {
110
+ while (this.inFlight.size > 0) {
111
+ await Promise.race(this.inFlight.values());
119
112
  }
113
+ if (this.stopped) {
114
+ return;
115
+ }
116
+ const last = this.sealed.shift();
117
+ const finalSent = last !== undefined && (await this.dispatch(last, true));
118
+ if (!finalSent && !this.stopped) {
119
+ await this.dispatch({ lines: [], bytes: 0 }, true);
120
+ }
121
+ this.stopped = true;
120
122
  }
121
- async send(batch, final) {
123
+ async send(batch, inFlight, final) {
122
124
  const dropped = this.droppedSinceLastBatch;
123
125
  this.droppedSinceLastBatch = 0;
124
126
  const seq = this.seq++;
125
- const inFlight = { lines: batch.lines.length, settled: false };
126
- this.inFlight = inFlight;
127
127
  const body = await gzipAsync(batch.lines.length > 0 ? batch.lines.join('\n') + '\n' : '');
128
128
  for (let attempt = 1; attempt <= this.options.maxAttempts; attempt++) {
129
129
  try {
@@ -170,7 +170,9 @@ export class SupportLogShipper {
170
170
  return;
171
171
  }
172
172
  if (response.status === 401) {
173
- this.endpoint.credentials = { ...this.endpoint.credentials, expiresAt: new Date(0) };
173
+ if (this.endpoint.credentials.token === token) {
174
+ this.endpoint.credentials = { ...this.endpoint.credentials, expiresAt: new Date(0) };
175
+ }
174
176
  throw new Error('Support log token was rejected');
175
177
  }
176
178
  if (response.status >= 400 && response.status < 500) {
@@ -182,8 +184,11 @@ export class SupportLogShipper {
182
184
  if (this.endpoint.credentials.expiresAt.getTime() - Date.now() > REFRESH_MARGIN_MS) {
183
185
  return this.endpoint.credentials;
184
186
  }
187
+ this.refreshing ??= this.endpoint.refresh().finally(() => {
188
+ this.refreshing = undefined;
189
+ });
185
190
  try {
186
- this.endpoint.credentials = await this.endpoint.refresh();
191
+ this.endpoint.credentials = await this.refreshing;
187
192
  }
188
193
  catch (error) {
189
194
  this.stopped = true;
@@ -1 +1 @@
1
- {"version":3,"file":"supportLogShipper.js","sourceRoot":"","sources":["../../src/utils/supportLogShipper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,IAAI,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AAE1E,MAAM,SAAS,GAAG,SAAS,CAAC,IAAI,CAAC,CAAC;AAyBlC,MAAM,eAAe,GAA6B;IAChD,cAAc,EAAE,EAAE,GAAG,IAAI,GAAG,IAAI;IAChC,UAAU,EAAE,CAAC,GAAG,IAAI,GAAG,IAAI;IAC3B,eAAe,EAAE,IAAI;IACrB,WAAW,EAAE,CAAC;IACd,eAAe,EAAE,MAAM;CACxB,CAAC;AAEF,MAAM,iBAAiB,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;AACzC,MAAM,kBAAkB,GAAG,MAAM,CAAC;AAClC,MAAM,cAAc,GAAG,MAAM,CAAC;AAC9B,MAAM,cAAc,GAAG,IAAI,CAAC;AAM5B,MAAM,cAAe,SAAQ,KAAK;CAAG;AAErC,MAAM,OAAO,iBAAiB;IAkBT;IAjBF,MAAM,GAAG,iBAAiB,CAAC,MAAM,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;IAC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IAAI,KAAK,CAAC,sCAAsC,QAAQ,CAAC,MAAM,EAAE,CAAC,CAAC;IAC3E,CAAC;IAEO,KAAK,CAAC,WAAW;QACvB,IAAI,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,SAAS,CAAC,OAAO,EAAE,GAAG,IAAI,CAAC,GAAG,EAAE,GAAG,iBAAiB,EAAE,CAAC;YACnF,OAAO,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC;QACnC,CAAC;QAED,IAAI,CAAC,UAAU,KAAK,IAAI,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,GAAG,EAAE;YACvD,IAAI,CAAC,UAAU,GAAG,SAAS,CAAC;QAC9B,CAAC,CAAC,CAAC;QACH,IAAI,CAAC;YACH,IAAI,CAAC,QAAQ,CAAC,WAAW,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC;QACpD,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;YACpB,MAAM,IAAI,cAAc,CAAC,gDAAgD,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,CAAC;QAC/F,CAAC;QAED,OAAO,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC;IACnC,CAAC;CACF"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@futo-org/backups-orchestrator-api",
3
3
  "repository": "https://github.com/futo-org/backups",
4
- "version": "1.11.1",
4
+ "version": "1.11.3",
5
5
  "description": "Backups orchestrator (API)",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -33,7 +33,7 @@
33
33
  "rxjs": "^7.8.2",
34
34
  "socket.io": "^4.8.4",
35
35
  "zod": "4.4.3",
36
- "@futo-org/backups-api-client": "^1.11.1"
36
+ "@futo-org/backups-api-client": "^1.11.3"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@jest/globals": "^30.2.0",