iBrokeTheCode's picture
chore: Add model service files
67919d4
raw
history blame contribute delete
395 Bytes
import os
# We will store images uploaded by the user on this folder
UPLOAD_FOLDER = "uploads/"
os.makedirs(UPLOAD_FOLDER, exist_ok=True)
# REDIS
# Queue name
REDIS_QUEUE = "service_queue"
# Port
REDIS_PORT = 6379
# DB Id
REDIS_DB_ID = 0
# Host IP
REDIS_IP = os.getenv("REDIS_IP", "redis")
# Sleep parameters which manages the interval between requests to our redis queue
SERVER_SLEEP = 0.05