Closed hongbo-miao closed 2 years ago
I have a very simple Gin server.
func Health(c *gin.Context) { c.JSON(http.StatusOK, gin.H{ "status": "ok", }) } r := gin.Default() r.GET("/", timeout.New( timeout.WithTimeout(1000*time.Microsecond), timeout.WithHandler(controllers.Health), )) err := r.Run(":" + config.Port)
However, if I click multiple times, sometimes I will get results like with previous call results and be combined together:
And sometimes not.
Any idea? Thanks
Fixed in #13
I have a very simple Gin server.
However, if I click multiple times, sometimes I will get results like with previous call results and be combined together:
And sometimes not.
Any idea? Thanks