Use MarkLongPolling instead of hard-coded route path (#37427)
This commit is contained in:
@@ -25,6 +25,4 @@ func TestBlockExpensive(t *testing.T) {
|
||||
for _, c := range cases {
|
||||
assert.Equal(t, c.expensive, isRoutePathExpensive(c.routePath), "routePath: %s", c.routePath)
|
||||
}
|
||||
|
||||
assert.True(t, isRoutePathForLongPolling("/user/events"))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user