Python 64.6%
TypeScript 33.7%
CSS 0.8%
1# Ingestion / purge worker (runs the same image with a periodic job loop).2apiVersion: apps/v13kind: Deployment4metadata: { name: worker, namespace: uqo-chat }5spec:6 replicas: 17 selector: { matchLabels: { app: worker } }8 template:9 metadata: { labels: { app: worker } }10 spec:11 containers:12 - name: worker13 image: ghcr.io/ORG/uqo-chat-api:latest14 command: ["python", "-c", "import asyncio,time;from app.services import files;from app.services import conversations as c\nasync def m():\n while True:\n await files.purge_expired(); await c.redact_old_messages(12); await asyncio.sleep(3600)\nasyncio.run(m())"]15 envFrom: [{ secretRef: { name: uqo-chat-secrets } }, { configMapRef: { name: uqo-chat-config } }]16 resources: { requests: { cpu: 50m, memory: 256Mi }, limits: { cpu: 500m, memory: 512Mi } }17