perf: offload FurnitureData translation build to a worker thread

The translation build's CPU-heavy work (deep clone of the 100k+ entry
master, the two full scans and JSON.stringify per language) now runs in a
worker thread, so "Alles vertalen" no longer blocks the main event loop.
Network/DB parts (official Habbo fetch, LibreTranslate, file writes) stay
on the main thread. The pure helpers were extracted to furni-data-i18n-core
(no server-only deps) so the worker can import them. Falls back to the same
helpers on the main thread when no worker is available or in tests.
This commit is contained in:
openhands committed 2026-08-24 19:10:33 +02:00
1 parent 8d1b09f151
commit f94246e067
4 files changed
+451 -124

No files matched your search

File diff suppressed because it is too large. Load diff