James Seibel
6d6d142cf3
Add logging when a repo has finished closing
2024-12-30 20:44:28 -06:00
James Seibel
6c23990be2
Add number formatting to migration progress log
2024-12-30 20:44:06 -06:00
James Seibel
cd91ba50b9
handle corrupted inputs
2024-12-28 09:15:58 -06:00
James Seibel
8511d6e6b8
Add networking thread pool to F3 screen
2024-12-28 09:15:24 -06:00
James Seibel
64b26f0267
Fix typo preventing threadpools from running
2024-12-27 18:11:51 -06:00
James Seibel
31a65d1ce5
Merge branch 'main' of gitlab.com:distant-horizons-team/distant-horizons-core
2024-12-27 08:47:33 -06:00
James Seibel
1e3b20a672
Increase default thread preset LOW -> BALANCED
2024-12-27 08:47:03 -06:00
James Seibel
607dbdbc08
Fix f3 screen thread run time "<"
2024-12-27 08:46:46 -06:00
James Seibel
6135bdf67c
Only have a single thread config
...
This means that CPU use will be a lot more consistent since all internal thread pools share a single thread count semaphore.
2024-12-27 08:46:32 -06:00
s809
723d93428b
Respond to incompatible packets so the client is able to display an error in F3
2024-12-27 17:05:01 +05:00
s809
9447510354
Fix failed counter working incorrectly
2024-12-27 15:00:06 +05:00
James Seibel
81654123d8
Fix phantomArrayList lock overhead for large thread counts
2024-12-26 16:27:56 -06:00
s809
cde804820e
Fix null pointers when generation is disabled
2024-12-26 16:08:17 +05:00
s809
29aa50fbd6
Revert "roll back part of "Prune world gen tasks above limit in multiplayer""
...
This reverts commit 49da0e09
2024-12-26 13:57:49 +05:00
s809
1154f23f16
Revert "re-calculate LodRenderSection missing pos every minute"
...
This reverts commit 7270eb8fe2 .
2024-12-26 13:53:21 +05:00
s809
8904872b85
Use library provided method for filling *ArrayLists
2024-12-25 23:12:47 +05:00
s809
5dd52d3a0f
Fix full data source decoding failures
2024-12-25 23:11:55 +05:00
James Seibel
810172346f
Fix DH preventing server shutdown on close
2024-12-25 09:04:42 -06:00
James Seibel
248f6db82e
Fix rare null pointer race condition
2024-12-24 08:12:11 -06:00
James Seibel
0ca2b2f282
minor data point ID map optimization
2024-12-23 21:40:55 -06:00
James Seibel
4d7d8cc3c0
optimize DTO memory reading
2024-12-23 20:44:34 -06:00
James Seibel
2154e53898
Add F3 screen toggling configs
2024-12-22 09:17:31 -06:00
James Seibel
75273be90a
Massively optimize array pooling
...
Separating pools for each object/use case prevents infinitely growing arrays (also the column render source fix in 481e0411ac prevents infinitely allocating arrays)
2024-12-22 08:43:47 -06:00
James Seibel
481e0411ac
Fix array leaks in LodrenderSection loading
2024-12-22 08:03:25 -06:00
James Seibel
4d8469c486
Fix F3 menu showing incorrect pooled memory size
2024-12-21 13:06:35 -06:00
James Seibel
3d866c480f
Add config assumePreExistingChunksAreFinished
2024-12-20 15:25:31 -06:00
James Seibel
61a06c87c2
Fix F3 menu typo
2024-12-20 15:24:18 -06:00
James Seibel
7ab2f49f01
Rename worldGen Tasks F3 row to avoid confusion
2024-12-20 14:22:11 -06:00
James Seibel
e6ceba63f7
Fix null pointer in DataSourceHandler error handler
2024-12-20 13:49:17 -06:00
James Seibel
0ba030e4aa
Repo and Obj Pool rewrite
...
This should provide a significant reduction in garbage generated, reducing GC pressure.
2024-12-20 13:38:44 -06:00
James Seibel
7e0c10a516
add StringUtil.convertBytesToHumanReadable()
2024-12-19 17:26:16 -06:00
James Seibel
7c8c4fa6e7
minor DataTransformer optimization
2024-12-19 08:28:39 -06:00
James Seibel
aaa62ccd89
Fix unnecessary string allocatino in chunkLightStorage
2024-12-14 23:35:08 -06:00
James Seibel
991c77485d
Fix concurrent ChunkWrapper modifications in SharedApi
2024-12-14 20:57:22 -06:00
James Seibel
de5e4a6705
Add concurrency checks to ChunkLightStorage
2024-12-14 20:57:10 -06:00
James Seibel
52917e65bc
sort Lod Builder configs
2024-12-14 18:59:35 -06:00
James Seibel
8e970b1ffb
Attempt to fix a rare concurrency issue in ChunkLightStorage
2024-12-14 17:49:46 -06:00
James Seibel
f89cd52e5c
Add debug wireframe toggle for render section rendering toggle
2024-12-14 17:24:51 -06:00
James Seibel
76b3e81cb1
rename generation mode FULL -> INTERNAL_SERVER
2024-12-14 14:05:36 -06:00
James Seibel
69050bb840
Revert "Fix holes when using Chunky"
...
This reverts commit d398b3bc04 .
2024-12-14 12:20:12 -06:00
James Seibel
3fe60946be
Revert "put shared api particle behind debug config"
...
This reverts commit 23021153da .
2024-12-14 12:20:09 -06:00
James Seibel
04f0b454eb
re-add full (server) distant generator mode
2024-12-13 07:26:49 -06:00
James Seibel
23021153da
put shared api particle behind debug config
2024-12-13 07:26:05 -06:00
James Seibel
d398b3bc04
Fix holes when using Chunky
...
(At the cost of some minor server lag)
2024-12-12 20:56:29 -06:00
James Seibel
7270eb8fe2
re-calculate LodRenderSection missing pos every minute
...
Should re-implement the removed code from 49da0e09a4
2024-12-12 16:55:45 -06:00
James Seibel
49da0e09a4
roll back part of "Prune world gen tasks above limit in multiplayer"
...
LodRenderSection was throwing null pointers during .isFullyGenerated() due to missing null checks
2024-12-12 07:46:27 -06:00
James Seibel
cf8a9dc269
fix typo in LodQuadTree
2024-12-12 07:44:05 -06:00
James Seibel
688312b5e7
up file handler runtime ratio defaults
2024-12-12 07:19:59 -06:00
James Seibel
1f0290c37b
Fix thread F3 avg time >0 when runtime ratio is 1
2024-12-12 07:19:44 -06:00
James Seibel
3c5225534f
Remove world gen timeout config
...
It didn't work as originally intended. It was originally added to prevent world gen lock-ups if a thread hits and infinite loop, but it didn't do anything for that use case and just ended up being annoying for low-end users.
2024-12-12 06:59:03 -06:00