Skip to content

Commit df8624e

Browse files
committed
perf: switch to gzipped response for GetFileTree to enhance performance
1 parent d512e7f commit df8624e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

agent/app/api/v2/file.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ func (b *BaseApi) GetFileTree(c *gin.Context) {
9090
helper.InternalServer(c, err)
9191
return
9292
}
93-
helper.SuccessWithData(c, tree)
93+
helper.SuccessWithDataGzipped(c, tree)
9494
}
9595

9696
// @Tags File

0 commit comments

Comments
 (0)