mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Change naming of servers stats to generic name
This commit is contained in:
parent
5c9c528bdf
commit
ca170b86e0
@ -76,7 +76,7 @@ class HelperServerStats:
|
||||
db_folder = os.path.join(f"{server['path']}", "db_stats")
|
||||
db_file = os.path.join(
|
||||
db_folder,
|
||||
f"{server['server_name']}" + ".sqlite",
|
||||
"crafty_server_stats.sqlite",
|
||||
)
|
||||
database = SqliteDatabase(
|
||||
db_file, pragmas={"journal_mode": "wal", "cache_size": -1024 * 10}
|
||||
@ -109,7 +109,7 @@ class HelperServerStats:
|
||||
db_file = os.path.join(
|
||||
f"{server['path']}",
|
||||
"db_stats",
|
||||
f"{server['server_name']}" + ".sqlite",
|
||||
"crafty_server_stats.sqlite",
|
||||
)
|
||||
database = SqliteDatabase(
|
||||
db_file, pragmas={"journal_mode": "wal", "cache_size": -1024 * 10}
|
||||
|
Loading…
Reference in New Issue
Block a user