modified: src/file_store_api.py
This commit is contained in:
@ -21,13 +21,6 @@ logger = logging.getLogger(__name__)
|
|||||||
|
|
||||||
|
|
||||||
def configure_wal(cursor, cache_size=-50000, busy_timeout=5000):
|
def configure_wal(cursor, cache_size=-50000, busy_timeout=5000):
|
||||||
"""
|
|
||||||
配置SQLite WAL选项(线程安全)
|
|
||||||
|
|
||||||
:param cursor: 数据库连接的cursor对象
|
|
||||||
:param cache_size: 页面缓存大小(负数为KB表示)
|
|
||||||
:param busy_timeout: 锁等待超时时间(毫秒)
|
|
||||||
"""
|
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
Reference in New Issue
Block a user