chore: adjustments for local development without containers (#21)

* chore: adjustments for local development without containers

* update Contributing.md

* remove dev section from readme and link to contributing doc

* move settings import to runtime
This commit is contained in:
Arno
2026-04-05 17:18:56 +02:00
committed by GitHub
parent e84f2d6127
commit 70809b3d7d
26 changed files with 564 additions and 367 deletions
+4 -1
View File
@@ -7,7 +7,10 @@ logger = logging.getLogger(__name__)
class QueueStore:
def __init__(self, db_path: Path = Path("/app/cache/queue.db")) -> None:
def __init__(self, db_path: Path | None = None) -> None:
if db_path is None:
from core.config import get_settings
db_path = get_settings().queue_db_path
self.db_path = Path(db_path)
self.db_path.parent.mkdir(parents=True, exist_ok=True)
self._write_lock = threading.Lock()