From d803c8df7a463cd79b7ae7cbe599928167caf056 Mon Sep 17 00:00:00 2001 From: ale Date: Mon, 14 Oct 2024 01:54:16 +0200 Subject: [PATCH] 0.7 cpu --- docker-compose.yml | 2 +- public/main.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 6acc9b7..0b7251b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,7 +6,7 @@ services: container_name: fediblock-instance restart: always user: node - cpus: "0.5" + cpus: "0.7" mem_limit: "1g" memswap_limit: "1g" ports: diff --git a/public/main.js b/public/main.js index e834074..7e2fff2 100644 --- a/public/main.js +++ b/public/main.js @@ -39,6 +39,7 @@ document.addEventListener('DOMContentLoaded', function () { if (res && res.block_count >= 0) { document.getElementById('blockcount').innerText = res.block_count document.getElementById('blockinstance').innerText = 'ing ' + content + document.getElementById('blocktook').innerText = '' var list = document.getElementById('blocklist'), download = document.getElementById('download') download.removeAttribute('href')