ray/dashboard/modules/log/log_consts.py
jon-chuang ddcc252b51
[Core] Ray logs API (1/n) (#23435)
Expose HTTP endpoint to retrieve logs from ray cluster
2022-04-20 23:11:02 -07:00

9 lines
179 B
Python

MIME_TYPES = {
"text/plain": [".err", ".out", ".log"],
}
LOG_GRPC_ERROR = "log_grpc_status"
FILE_NOT_FOUND = "LOG_GRPC_ERROR: file_not_found"
# 10 seconds
GRPC_TIMEOUT = 10