We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84a78ae commit ac81e48Copy full SHA for ac81e48
1 file changed
llms/db.py
@@ -1,10 +1,11 @@
1
import json
2
+import os
3
import sqlite3
4
import threading
5
from queue import Empty, Queue
6
from threading import Event, Thread
7
-POOL = True
8
+POOL = os.getenv("LLMS_POOL", "0") == "1"
9
10
11
def create_reader_connection(db_path):
0 commit comments