This merge request should improve the performance of the puzzle list page on Pupple. It is ensured in two ways:
puzzleAttemptService
are no longer blocked in a loop (which defeated the whole purpose of having them non-blocking), now Mono.when
is used instead to wait for all tasks to finish simultaneously.Furthermore a DTO is used, which might improve performance, but not as significantly.
I've checked the changes manually and they seem to not break anything while (potentially) improving performance.
Changelog:
## [0.0.4]
### Added
### Changed
- Pass a single DTO instead of multiple HashMap inside PuzzleList.html ( @cbaraya)
- Fetch only the puzzles from the database that will be used ( @kradziwilowicz)
### Fixed
- Made retrieving display names no longer block to increase performance ( @kradziwilowicz)