async function pingSingleRegion()

in ext/js/service-worker.js [101:113]


async function pingSingleRegion(url) {
  return new Promise((resolve) => {
    const start = new Date().getTime();

    fetch(url, {
      cache: "no-cache",
    }).then(async (resp) => {
      const latency = new Date().getTime() - start;

      resolve(latency);
    });
  });
}