added user images partitioning

This commit is contained in:
2025-12-12 16:17:23 -05:00
parent 9b90ca12fb
commit f8d709f292
22 changed files with 91 additions and 42 deletions

View File

@@ -1,5 +1,5 @@
import sys, logging
import sys, logging, os
from config.paths import get_user_image_dir
from flask import Flask, request
from flask_cors import CORS
@@ -55,7 +55,8 @@ def start_background_threads():
broadcaster.daemon = True
broadcaster.start()
# Initialize background workers on server start
# TODO: implement users
os.makedirs(get_user_image_dir("user123"), exist_ok=True)
initializeImages()
start_background_threads()