Zhang Jinyang
Zhang Jinyang
 From the captured packets, it should have been successful.
However, from the wireshark screenshot, the reply data packet can be captured, and the request/reply is also one-to-one corresponding.
对于某些HTTP API来说,当成功时返回的是200状态码,且response中包含一组正常时的数据。当失败时返回的是非200状态码,response中是另一组数据,key完全不同。这种情况如何让监控状态变为“宕机”状态?
> > 对于某些HTTP API来说,当成功时返回的是200状态码,且response中包含一组正常时的数据。当失败时返回的是非200状态码,response中是另一组数据,key完全不同。这种情况如何让监控状态变为“宕机”状态? > > HTTP API 的监控可用性状态只与 HTTP Code 有关,默认情况下只要目标地址返回的状态码不为 200 or 201 则会变为 “宕机” @Kylin-Guo 我这里用的并不是HTTP API,即parseType并非website,而是jsonpath。这种情况下,如果status code为404,则并不会变为宕机状态
@arkohut I used ocr plugin in master branch, and same issue occured.  
I know the reason. Because you initialize `process_pool` in the `if __name__ == '__main__'` entry. But if you start it through `uvicorn`, this entry will not be executed. Therefore, `process_pool`...
share my dockerfile: ``` FROM python:3.12-slim RUN sed -i 's@http://deb.debian.org@http://mirrors.tuna.tsinghua.edu.cn@g' /etc/apt/sources.list.d/debian.sources \ && apt-get update \ && apt-get install -y --no-install-recommends libglib2.0-0 libgl1 \ && rm -rf /var/lib/apt/lists/* ADD requirements.txt...
@arkohut 截图、数据库,这些都占大头。数据库可以考虑允许指定外部数据库,截图可以考虑接入s3存储,这样的话性能更好。
尤其是截图,4s一张,一天就能产生几千张图片,一个月就是数十万张照片,这对于windows的文件存储方式来说压力太大了。估计到时候想看看文件夹大小都会卡死,这时候对象存储就有很明显的优势了,检索、统计,都性能更好。
Can it not be sent after reaching the maximum MTU? Then why can't even the heartbeat be maintained, resulting in a connection interruption?