puchm
puchm
Explore posts from servers
DHDistant Horizons
Created by puchm on 5/3/2025 in #help-me
Any way to fix the gaps between different quality levels?
No description
10 replies
DHDistant Horizons
Created by puchm on 3/30/2025 in #bug-report
Errors showing up when pregenerating, generation hangs
I am pregenerating chunks on a server using dh pregen. Settings: - generation.mode is INTERNAL_SERVER - common.threadPreset: I tried I_PAID_FOR_THE_WHOLE_CPU and AGGRESSIVE - Everything else is set to default JVM Args:
-Xms12G
-Xmx16G
-XX:+UseG1GC
-XX:+ParallelRefProcEnabled
-XX:MaxGCPauseMillis=200
-XX:+UnlockExperimentalVMOptions
-XX:+DisableExplicitGC
-XX:+AlwaysPreTouch
-XX:G1NewSizePercent=30
-XX:G1MaxNewSizePercent=40
-XX:G1HeapRegionSize=8M
-XX:G1ReservePercent=20
-XX:G1HeapWastePercent=5
-XX:G1MixedGCCountTarget=4
-XX:InitiatingHeapOccupancyPercent=15
-XX:G1MixedGCLiveThresholdPercent=90
-XX:G1RSetUpdatingPauseTimePercent=5
-XX:SurvivorRatio=32
-XX:+PerfDisableSharedMem
-XX:MaxTenuringThreshold=1
-Xms12G
-Xmx16G
-XX:+UseG1GC
-XX:+ParallelRefProcEnabled
-XX:MaxGCPauseMillis=200
-XX:+UnlockExperimentalVMOptions
-XX:+DisableExplicitGC
-XX:+AlwaysPreTouch
-XX:G1NewSizePercent=30
-XX:G1MaxNewSizePercent=40
-XX:G1HeapRegionSize=8M
-XX:G1ReservePercent=20
-XX:G1HeapWastePercent=5
-XX:G1MixedGCCountTarget=4
-XX:InitiatingHeapOccupancyPercent=15
-XX:G1MixedGCLiveThresholdPercent=90
-XX:G1RSetUpdatingPauseTimePercent=5
-XX:SurvivorRatio=32
-XX:+PerfDisableSharedMem
-XX:MaxTenuringThreshold=1
Mod list (same on client and server): c2me-fabric-mc1.21.1-0.3.0+alpha.0.315.jar DistantHorizons-fabric-neoforge-2.3.0-b-1.21.1.jar fabric-api-0.115.2+1.21.1.jar fabric-carpet-1.21-1.4.147+v240613.jar itemscroller-fabric-1.21-0.24.57.jar journeymap-fabric-1.21.1-6.0.0-beta.40.jar malilib-fabric-1.21-0.21.7.jar minihud-fabric-1.21-0.32.57.jar noisium-fabric-2.3.0+mc1.21-1.21.1.jar servux-fabric-1.21-0.3.13.jar sodium-fabric-0.6.9+mc1.21.1.jar spark-1.10.109-fabric.jar tweakeroo-fabric-1.21.1-0.21.50.jar Datapacks: JJThunder_To_The_Max_1.21.0-1.21.1_v0.5.0.zip What happens: I get a lot of errors like this:
[13:17:24] [c2me-worker-2/ERROR]: Detected setBlock in a far chunk [112, 78], pos: class_2338{x=1807, y=470, z=1248}, status: minecraft:features, currently generating: ResourceKey[minecraft:worldgen/placed_feature / minecraft:large_dripstone]
[13:17:24] [c2me-worker-2/ERROR]: Detected setBlock in a far chunk [112, 78], pos: class_2338{x=1807, y=470, z=1248}, status: minecraft:features, currently generating: ResourceKey[minecraft:worldgen/placed_feature / minecraft:large_dripstone]
These show up every few minutes and at some point the generation starts hanging (i.e. multiple hours with zero progress). I also found a few messages like this:
[12:52:11] [DH-PriorityTaskPicker Thread[0]/WARN]: Generation for section 6*24,14 has expired!
[12:52:11] [DH-PriorityTaskPicker Thread[0]/WARN]: Generation for section 6*24,14 has expired!
If you need anything from me, I am happy to help debugging this further.
3 replies
TtRPC
Created by puchm on 3/15/2024 in #❓-help
Asynchronous subscribe and unsubscribe methods in observable
Hello, I have been looking at the documentation about subscriptions but I am not sure about one thing. This is the article I am looking at: https://trpc.io/docs/subscriptions The code example mentions that the event emitter could be replaced by Redis. However, I am not sure how this would work. When doing PubSub with Redis your subscribe/unsubscribe methods are typically asynchronous. The "observable" from tRPC only takes a synchronous subscribe function and must return a synchronous unsubscribe function. I could just not await the result of the subscribe call but then I may run into uncaught errors when subscribing doesn't work. I could catch those but as I see it I would have no way to return them to the client. How is this supposed to be done?
1 replies