MCPcopy Index your code
hub / github.com/php/frankenphp / getNumThreads

Function getNumThreads

caddy/admin_test.go:269–272  ·  view source on GitHub ↗
(t *testing.T, tester *caddytest.Tester)

Source from the content-addressed store, hash-verified

267}
268
269func getNumThreads(t *testing.T, tester *caddytest.Tester) int {
270 t.Helper()
271 return len(getDebugState(t, tester).ThreadDebugStates)
272}
273
274func TestAddModuleWorkerViaAdminApi(t *testing.T) {
275 // Initialize a server with admin API enabled

Callers 7

TestMetricsFunction · 0.85
TestWorkerMetricsFunction · 0.85
TestNamedWorkerMetricsFunction · 0.85
TestAutoWorkerConfigFunction · 0.85
TestMultiWorkersMetricsFunction · 0.85

Calls 1

getDebugStateFunction · 0.85

Tested by

no test coverage detected