Skip to content

Commit ec852d4

Browse files
committed
added environment to startup log
1 parent 64ff64e commit ec852d4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

backend/main.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def startup(self):
6565
from database.r2_connector import R2Connector
6666

6767

68-
logger.info("Container starting up!")
68+
logger.info(f"Container starting up! Environment = {env}")
6969
self.start_time = datetime.now(timezone.utc)
7070

7171
# Get environment variables (TODO: abstract to config module)
@@ -149,8 +149,6 @@ async def process_video(self, video_bytes: bytes, filename: str, job_id: str, na
149149

150150
# Embed frames and store in Pinecone
151151
logger.info(f"[Job {job_id}] Embedding and upserting {len(processed_chunks)} chunks")
152-
153-
# TODO: Upload processed data to S3 (video storage)
154152

155153
# Prepare chunk details for response (without frame arrays)
156154
chunk_details = []

0 commit comments

Comments
 (0)