mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-24 13:19:02 +00:00
![]() This corrects an annoying bug that had the system crash and burn on first start-up due to a race condition in service initialization, where the services were attempting to access the database before it was properly migrated. A fix was in principle already in place, but it was running too late and did not prevent attempts to access the as-yet uninitialized database. Move the first boot check into the MainClass instead of the Service constructor. The change also adds more appropriate docker dependencies to the services to fix rare errors resolving the hostname of the database. |
||
---|---|---|
.. | ||
config | ||
db | ||
linkdb | ||
model | ||
process | ||
renderer | ||
service | ||
readme.md |
Common
These are packages containing the basic building blocks for running a service as well as shared models.
- db contains SQL code and some database-related utilities.
- config contains some
@Inject
ables. - renderer contains utility code for rendering website templates.
- service is the shared base classes for main methods and web services, including a service registry interface.
- process contains boiler plate for batch processes.