zz
This commit is contained in:
parent
03569d6a59
commit
ae760c8e7c
@ -5,7 +5,10 @@ RUN apk add --update --no-cache git curl curl-dev vim py3-lxml gcc make libxml2-
|
|||||||
RUN addgroup -S appgroup -g 1000 && \
|
RUN addgroup -S appgroup -g 1000 && \
|
||||||
adduser -u 1000 -S appuser -G appgroup
|
adduser -u 1000 -S appuser -G appgroup
|
||||||
|
|
||||||
|
RUN mkdir /app
|
||||||
|
|
||||||
ADD requirements.txt /
|
ADD requirements.txt /
|
||||||
RUN CASS_DRIVER_BUILD_CONCURRENCY=4 pip install -r /requirements.txt
|
RUN CASS_DRIVER_BUILD_CONCURRENCY=4 pip install -r /requirements.txt
|
||||||
RUN pip install https://git.kemt.fei.tuke.sk/dano/websucker-pip/archive/master.zip
|
RUN pip install https://git.kemt.fei.tuke.sk/dano/websucker-pip/archive/master.zip
|
||||||
|
WORKDIR /app
|
||||||
ENTRYPOINT ["websuck"]
|
ENTRYPOINT ["websuck"]
|
||||||
|
@ -216,6 +216,9 @@ class Connection:
|
|||||||
elif errno == 16:
|
elif errno == 16:
|
||||||
# 16 HTTP2
|
# 16 HTTP2
|
||||||
link_status = "bad_connection"
|
link_status = "bad_connection"
|
||||||
|
elif errno == 92:
|
||||||
|
# 92 HTTP2 not closed
|
||||||
|
link_status = "bad_connection"
|
||||||
elif errno == 6:
|
elif errno == 6:
|
||||||
# 60 Unable to resolve dns
|
# 60 Unable to resolve dns
|
||||||
link_status = "bad_connection"
|
link_status = "bad_connection"
|
||||||
|
Loading…
Reference in New Issue
Block a user