Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

Database load taking place too early #95

Open
Dockter opened this issue Aug 21, 2018 · 2 comments
Open

Database load taking place too early #95

Dockter opened this issue Aug 21, 2018 · 2 comments

Comments

@Dockter
Copy link
Contributor

Dockter commented Aug 21, 2018

@Zidane was working with our Econ database and during debugging we noticed that the database load is occurring within preInit instead of onServerStart.

He noted that onServerShutdown it should write the final changes to the DB and close all connections.

@Flibio
Copy link
Owner

Flibio commented Aug 24, 2018

Okay, I'll look into this.

@Flibio
Copy link
Owner

Flibio commented Sep 24, 2018

I know that Sponge services should be ready for requests by the PostInitialization state. Doesn't this interfere with that?

Is it a major issue to load on preInit or Init?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants