eic-aibee
eic-aibee
This repository is very helpful, but can you provide a dockerfile to execute it? thanks!
how can gunicorn flask and json-logging-python combine together? can you show me an example? ``` gunicorn.conf.py bind = '0.0.0.0:%i' % int(os.getenv('PORT', 5000)) backlog = int(os.getenv('GUNICORN_BACKLOG', 2048)) # # Worker processes...
``` MAX_MESSAGE_LENGTH = 41943040 # prometheus related 参考自: https://github.com/lchenn/py-grpc-prometheus#server-side-1 server = grpc.server(thread_pool=futures.ThreadPoolExecutor(max_workers=_THREAD_CONCURRENCY, ), options=[('grpc.max_send_message_length', MAX_MESSAGE_LENGTH), ( 'grpc.max_receive_message_length', MAX_MESSAGE_LENGTH), ('grpc.so_reuseport', 1)], interceptors=(PromServerInterceptor(),)) ``` ``` port = 50051 bind_address = '0.0.0.0:{}'.format(port) _LOGGER.info("Binding...