aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-hub/src/meshbay_hub/static/node-page.js
diff options
context:
space:
mode:
Diffstat (limited to 'packages/meshbay-hub/src/meshbay_hub/static/node-page.js')
-rw-r--r--packages/meshbay-hub/src/meshbay_hub/static/node-page.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/packages/meshbay-hub/src/meshbay_hub/static/node-page.js b/packages/meshbay-hub/src/meshbay_hub/static/node-page.js
index 56166c6..88167d3 100644
--- a/packages/meshbay-hub/src/meshbay_hub/static/node-page.js
+++ b/packages/meshbay-hub/src/meshbay_hub/static/node-page.js
@@ -1188,6 +1188,16 @@ export function NodePage({ groups, token, username }) {
</div>
</label>
<label class="node-setting">
+ <span class="node-setting-label">${t('node.setting_connection_processes')}</span>
+ <div class="node-setting-input">
+ <input type="number" min="1" max=${editSettings.cpu_count || 1}
+ value=${editSettings.connection_processes || 1}
+ onInput=${e => setEditSettings(s => ({...s, connection_processes:
+ Math.min(Math.max(parseInt(e.target.value) || 1, 1), s.cpu_count || 1)}))} />
+ <span class="node-setting-unit">${t('node.setting_unit_of', { n: editSettings.cpu_count || 1 })}</span>
+ </div>
+ </label>
+ <label class="node-setting">
<span class="node-setting-label">${t('node.setting_transcode')}</span>
<div class="node-setting-input">
<input type="checkbox" checked=${editSettings.transcode_incompatible_video}