feat: add trusted ticket intake backend
This commit is contained in:
@@ -112,10 +112,21 @@ CELERY_RESULT_BACKEND = os.getenv("CELERY_RESULT_BACKEND", "redis://localhost:63
|
||||
|
||||
AI_CREDENTIAL_ENCRYPTION_KEY = os.getenv("AI_CREDENTIAL_ENCRYPTION_KEY", "")
|
||||
AI_RUN_RETENTION_DAYS = int(os.getenv("AI_RUN_RETENTION_DAYS", "90"))
|
||||
TICKET_DRAFT_RETENTION_HOURS = int(os.getenv("TICKET_DRAFT_RETENTION_HOURS", "24"))
|
||||
|
||||
MINIO_ENDPOINT = os.getenv("MINIO_ENDPOINT", "localhost:9000")
|
||||
MINIO_ACCESS_KEY = os.getenv("MINIO_ACCESS_KEY", os.getenv("MINIO_ROOT_USER", "minio"))
|
||||
MINIO_SECRET_KEY = os.getenv("MINIO_SECRET_KEY", os.getenv("MINIO_ROOT_PASSWORD", "minio123"))
|
||||
MINIO_BUCKET = os.getenv("MINIO_BUCKET", "ai-ticket-platform")
|
||||
MINIO_SECURE = os.getenv("MINIO_SECURE", "false").lower() == "true"
|
||||
|
||||
CELERY_BEAT_SCHEDULE = {
|
||||
"cleanup-expired-agent-runs": {
|
||||
"task": "apps.agents.tasks.cleanup_expired_agent_runs",
|
||||
"schedule": 86400.0,
|
||||
}
|
||||
},
|
||||
"cleanup-expired-ticket-drafts": {
|
||||
"task": "apps.tickets.tasks.cleanup_expired_ticket_drafts",
|
||||
"schedule": 3600.0,
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user