Studio bridge: smaller tiles, quiet hang-ups, files removed on stop

- 128-pixel tiles by default and scales up to 4096 blocks per pixel, so
  the studio fills the screen in smaller steps and can zoom out further
- A client that drops a tile it no longer needs closes the exchange
  instead of logging a broken-pipe stack trace
- The bridge keeps its port after closing, and Paper's server-stop
  quiesce closes the bridges, so their connection files are removed
  even when the deferred service teardown never runs
This commit is contained in:
piexel committed 2026-11-06 00:22:15 +01:00
1 parent a375d3b2f0
commit 4de21dace7
3 files changed
+18 -3

No files matched your search

@@ -74,6 +74,7 @@ import art.arcane.iris.core.service.ObjectSVC;
import art.arcane.iris.core.service.ObjectStudioSaveService;
import art.arcane.iris.core.service.PreservationSVC;
import art.arcane.iris.core.service.StudioSVC;
import art.arcane.iris.core.studio.bridge.StudioBridges;
import art.arcane.iris.core.service.TreeFellerSVC;
import art.arcane.iris.core.service.TreeSVC;
import art.arcane.iris.core.service.WandSVC;
@@ -968,6 +969,7 @@ public class Iris extends VolmitPlugin implements Listener, ReloadAware {
if (studioService != null) {
studioService.quiesceDownloadsForShutdown();
}
StudioBridges.closeAll();
try {
PregeneratorJob.shutdownAndWait(SERVER_STOP_PREGEN_TIMEOUT_MILLIS);