CatgirlIntelligenceAgency/code/libraries/blocking-thread-pool
Viktor Lofgren 5c46af0edb (converter) Refactor EncyclopediaMarginaliaNuSideloader to use ProcessingIterator
Refactored the getDocumentsStream method in EncyclopediaMarginaliaNuSideloader to use the newly extracted ProcessingIterator class that encapsulates processing a stream of results from e.g a database query in parallel and returning the computed results as an iterator.

The iterator was also improved on to be more reliable, previous versions of the logic would sometimes deadlock due to false positives in hasMore().
2023-12-09 15:20:53 +01:00
..
src/main/java/nu/marginalia/util (converter) Refactor EncyclopediaMarginaliaNuSideloader to use ProcessingIterator 2023-12-09 15:20:53 +01:00
build.gradle (*) Upgrade to JDK21 with preview enabled. 2023-09-24 10:38:59 +02:00