tmt2 icon indicating copy to clipboard operation
tmt2 copied to clipboard

Implement SQLite

Open pixup1 opened this issue 11 months ago • 1 comments

Implement SQLite database.

Managed games servers are now stored in the database.

pixup1 avatar Jan 06 '25 16:01 pixup1

Besides from that I'm wondering if we should keep the "connection" (file handle) to the database file open. When writing a lot of data (e.g. damage events) into the database it might be better to not open and close the file over and over again. What do you think?

You're right, we should never have a transaction conflict problem with the database, so it's not necessary to open a new connection for each data manipulation.

Ecnama avatar Jan 08 '25 13:01 Ecnama

We will make a new PR when we finish everything with our fork (eventually)

pixup1 avatar Oct 22 '25 20:10 pixup1