mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 04:19:26 +08:00
Update tool_task.py
This commit is contained in:
@@ -138,9 +138,7 @@ def getCpuUsed():
|
||||
|
||||
def pSqliteDb(dbname='logs'):
|
||||
db_dir = getServerDir() + '/logs/'
|
||||
|
||||
file = db_dir + 'waf.db'
|
||||
conn = mw.M(dbname).dbPos(db_dir, name)
|
||||
conn = mw.M(dbname).dbPos(db_dir, "waf.db")
|
||||
|
||||
conn.execute("PRAGMA synchronous = 0")
|
||||
conn.execute("PRAGMA cache_size = 8000")
|
||||
|
||||
Reference in New Issue
Block a user