#################### # General config # #################### TMP = "./tmp/" #################### # Frontend config # #################### FRONTEND = "frontend/grpc/server.py" #################### # Backend config # #################### # debug mode DEBUG = False # worker ## work interval #WORK_INTERVAL_MIN = 30 #WORK_INTERVAL_MAX = 60 WORK_INTERVAL_MIN = 2*60 # 2 mins WORK_INTERVAL_MAX = 5*60 # 5 mins # api ## cache ACCINFO_CACHE = 5*60 # 5 mins - fetch IG account info RELOGIN_LIMIT = 10*60 # 10 mins - re-login limit # IG ACCOUNT_USERNAME = "" ACCOUNT_PASSWORD = "" # type define {mine:ext} FILE_MINE_TYPE = { "image/jpeg": "jpg", "image/pjpeg": "jfif", "image/png": "png", "image/heic": "heic", "image/heif": "heif", "image/webp": "webp", "video/mp4": "mp4", "video/quicktime": "mov", "video/hevc": "hevc", } #################### # Interface config # #################### INTERFACE = "interface/tcivs.py" #################### # PictureMaker # #################### PICTURE_MAKER = "PictureMaker/testing.py"