Browse Source

SQL에서 병렬 스레드 쓰도록

차후 JS 걷어냈을 때 성능 저하를 만회하도록
잉여개발기 (SPDV) 1 year ago
parent
commit
42c8a5d1d5
2 changed files with 3 additions and 3 deletions
  1. 2 2
      app.py
  2. 1 1
      version.json

+ 2 - 2
app.py

@@ -25,7 +25,7 @@ data_db_set = class_check_json()
 do_db_set(data_db_set)
 
 with class_temp_db() as m_conn:
-    m_conn.execute('pragma journal_mode = DELETE')
+    m_conn.execute('pragma journal_mode = WAL')
 
 with get_db_connect(init_mode = True) as conn:
     curs = conn.cursor()
@@ -76,7 +76,7 @@ with get_db_connect(init_mode = True) as conn:
 
         conn.select_db(data_db_set['name'])
     else:
-        conn.execute('pragma journal_mode = DELETE')
+        conn.execute('pragma journal_mode = WAL')
 
     if setup_tool != 'normal':
         create_data = get_db_table_list()

+ 1 - 1
version.json

@@ -2,5 +2,5 @@
     "r_ver" : "v3.5.1-v24",
     "c_ver" : "20241202",
     "s_ver" : "20240426",
-    "bin_link" : "https://github.com/openNAMU/GopenNAMU/releases/download/v2024-12-21-01/"
+    "bin_link" : "https://github.com/openNAMU/GopenNAMU/releases/download/v2025-01-16-v1/"
 }