puchm
Explore posts from serversDHDistant Horizons
•Created by puchm on 5/3/2025 in #help-me
Any way to fix the gaps between different quality levels?

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:
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:
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:
If you need anything from me, I am happy to help debugging this further.3 replies
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