mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-03 21:29:08 +00:00
Rename initialize_{search,processor,server} to configure_{search,procesor,server}
- Search is being reconfigured multiple times in /regenerate and n/reload. More appropriate name is configure_ rather than initialize_ for it - Standardize name of methods under configure.py
This commit is contained in:
@@ -9,7 +9,7 @@ from fastapi.staticfiles import StaticFiles
|
||||
from PyQt6 import QtCore, QtGui, QtWidgets
|
||||
|
||||
# Internal Packages
|
||||
from src.configure import initialize_server
|
||||
from src.configure import configure_server
|
||||
from src.router import router
|
||||
from src.utils import constants
|
||||
|
||||
@@ -22,7 +22,7 @@ app.include_router(router)
|
||||
|
||||
def run():
|
||||
# Setup Application Server
|
||||
host, port, socket = initialize_server(sys.argv[1:])
|
||||
host, port, socket = configure_server(sys.argv[1:])
|
||||
|
||||
# Setup GUI
|
||||
gui = QtWidgets.QApplication([])
|
||||
|
||||
Reference in New Issue
Block a user