mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-11-30 01:34:04 +00:00
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:
1 parent
a375d3b2f0
commit
4de21dace7
3 files changed
+18
-3
No files matched your search
@@ -90,6 +90,15 @@ public class StudioBridgeTest {
|
||||
bridge.close();
|
||||
}
|
||||
|
||||
@Test
|
||||
public void aClosedBridgeStillKnowsItsPortSoItsConnectionFileCanBeRemoved() {
|
||||
int openPort = bridge.port();
|
||||
|
||||
bridge.close();
|
||||
|
||||
assertEquals(openPort, bridge.port());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void aRequestWithoutTheTokenIsRefused() throws Exception {
|
||||
HttpResponse<String> response = http.send(HttpRequest.newBuilder(uri("world")).timeout(WAIT).build(),
|
||||
|
||||
Reference in new issue
Block a user