Skip to content

Commit cf6a5df

Browse files
committed
fix(WebServer): update chunk size tooltips to recommend throughput test
1 parent f81a44e commit cf6a5df

3 files changed

Lines changed: 10 additions & 6 deletions

File tree

Tools/WebServer/static/js/locales/en.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -449,9 +449,9 @@ window.i18nResources['en'] = {
449449
'Automatically compile and inject when source files are saved',
450450
watch_dirs: 'Directories to watch for file changes',
451451
upload_chunk_size:
452-
'Size of each uploaded data block. Smaller values are more stable but slower.',
452+
'Size of each uploaded data block. Use "Throughput Test" for auto-configuration instead of manual tuning.',
453453
download_chunk_size:
454-
'Size of each downloaded data block. Larger values are faster.',
454+
'Size of each downloaded data block. Use "Throughput Test" for auto-configuration instead of manual tuning.',
455455
serial_tx_fragment_size:
456456
'TX fragment size for serial commands (bytes). 0 = disabled. Workaround for slow serial drivers.',
457457
serial_tx_fragment_delay:

Tools/WebServer/static/js/locales/zh-CN.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -439,8 +439,10 @@ window.i18nResources['zh-CN'] = {
439439
'Trampoline: 使用代码跳板(仅 FPB v1)\nDebugMonitor: 使用调试监视器异常(FPB v1/v2)\nDirect: 直接代码替换(仅 FPB v1)\n注意: FPB v2 仅支持 DebugMonitor 模式,会自动切换',
440440
auto_compile: '源文件保存时自动编译并注入',
441441
watch_dirs: '监视文件变化的目录',
442-
upload_chunk_size: '每个上传数据块的大小。较小的值更稳定但更慢。',
443-
download_chunk_size: '每个下载数据块的大小。较大的值更快。',
442+
upload_chunk_size:
443+
'每个上传数据块的大小。建议使用「吞吐测试」自动配置,避免手动调整。',
444+
download_chunk_size:
445+
'每个下载数据块的大小。建议使用「吞吐测试」自动配置,避免手动调整。',
444446
serial_tx_fragment_size:
445447
'串口命令的发送分片大小(字节)。0 = 禁用。用于解决慢速串口驱动问题。',
446448
serial_tx_fragment_delay:

Tools/WebServer/static/js/locales/zh-TW.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -439,8 +439,10 @@ window.i18nResources['zh-TW'] = {
439439
'Trampoline: 使用程式碼跳板(僅 FPB v1)\nDebugMonitor: 使用除錯監視器例外(FPB v1/v2)\nDirect: 直接程式碼替換(僅 FPB v1)\n注意: FPB v2 僅支援 DebugMonitor 模式,會自動切換',
440440
auto_compile: '原始檔儲存時自動編譯並注入',
441441
watch_dirs: '監視檔案變化的目錄',
442-
upload_chunk_size: '每個上傳資料區塊的大小。較小的值更穩定但更慢。',
443-
download_chunk_size: '每個下載資料區塊的大小。較大的值更快。',
442+
upload_chunk_size:
443+
'每個上傳資料區塊的大小。建議使用「吞吐測試」自動配置,避免手動調整。',
444+
download_chunk_size:
445+
'每個下載資料區塊的大小。建議使用「吞吐測試」自動配置,避免手動調整。',
444446
serial_tx_fragment_size:
445447
'串列埠命令的傳送分片大小(位元組)。0 = 停用。用於解決慢速串列埠驅動問題。',
446448
serial_tx_fragment_delay:

0 commit comments

Comments
 (0)