mirror of
https://github.com/simon987/Simple-Incremental-Search-Tool.git
synced 2025-12-15 08:09:04 +00:00
multithreading fixes and optimizations
This commit is contained in:
5
run.py
5
run.py
@@ -1,4 +1,5 @@
|
||||
import json
|
||||
import logging
|
||||
import os
|
||||
import shutil
|
||||
from io import BytesIO
|
||||
@@ -19,6 +20,10 @@ app = Flask(__name__)
|
||||
app.secret_key = "A very secret key"
|
||||
storage = LocalStorage(config.db_path)
|
||||
|
||||
# Disable flask logging
|
||||
flaskLogger = logging.getLogger('werkzeug')
|
||||
flaskLogger.setLevel(logging.ERROR)
|
||||
|
||||
tm = TaskManager(storage)
|
||||
search = Search("changeme")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user