mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-12 19:05:55 +02:00
fix: websocket of upstream availability test not close
This commit is contained in:
parent
dfee30e9d9
commit
53e1c32444
1 changed files with 33 additions and 32 deletions
|
@ -38,6 +38,7 @@ func AvailabilityTest(c *gin.Context) {
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
logger.Error(err)
|
logger.Error(err)
|
||||||
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
time.Sleep(10 * time.Second)
|
time.Sleep(10 * time.Second)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue