Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
winlinvip committed Aug 20, 2024
1 parent 8553af3 commit c557674
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ query check=added
==1481822== To see them, rerun with: --leak-check=full --show-leak-kinds=all
```

> Note: It is recommended to use a browser to access `/api/v1/valgrind` because the browser uses long connections, whereas curl uses short connections, which can generate some memory objects and might cause some interference.
> Note: To avoid interference from the HTTP request itself on Valgrind, SRS uses a separate coroutine to perform periodic checks. Therefore, after accessing the API, you may need to wait a few seconds for the detection to be triggered.
## Syscall

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ query check=added
==1481822== To see them, rerun with: --leak-check=full --show-leak-kinds=all
```

> Note: 推荐使用浏览器访问`/api/v1/valgrind`,因为浏览器是长链接,而curl是短链接,本身会产生一些内存对象,可能会有些干扰
> Note: 为了避免HTTP请求本身对valgrind的干扰,SRS使用单独的coroutine定时检查,因此访问API后,可能需要等待几秒才会触发检测
## Syscall

Expand Down

0 comments on commit c557674

Please sign in to comment.