Versie 0.3.3

This commit is contained in:
Atreides Assets committed 2026-10-30 12:28:48 +01:00
1 parent 1cf6eeed29
commit 6e741a51fe
57 files changed
+1362 -2135

No files matched your search

+4 -5
View File
@@ -1,4 +1,4 @@
// Generated, do not edit. sha256:e9ea9293b00980ab0270b38c345d130a439421cd662f57bea63c105e66a1587f
// Generated, do not edit. sha256:f1a362d8f5a38865a6fcd067548c9a9a2cf682e9141ad905ab0415dc770a62a9
import { CONFIG } from '../../shared/config.js';
import { activeConnection } from '../data/connections.js';
import { t } from '../i18n/index.js';
@@ -8,12 +8,11 @@ export async function explorerBase() {
}
const HTTP_TIMEOUT_MS = 12000;
const HTTP_RETRIES = 1;
const HTTP_BACKOFF_MS = 800;
const HTTP_BACKOFF_MS = [2000, 5000, 10000];
export async function fetchJson(url, label, options = {}) {
let laatste;
for (let poging = 0; poging <= HTTP_RETRIES; poging++) {
if (poging) await new Promise(r => setTimeout(r, HTTP_BACKOFF_MS * poging));
for (let poging = 0; poging <= HTTP_BACKOFF_MS.length; poging++) {
if (poging) await new Promise(r => setTimeout(r, HTTP_BACKOFF_MS[poging - 1]));
const ctrl = new AbortController();
const timer = setTimeout(() => ctrl.abort(), HTTP_TIMEOUT_MS);
try {