MCPcopy
hub / github.com/redis/go-redis / Size

Method Size

internal/pool/pool.go:341–341  ·  view source on GitHub ↗

Size returns the maximum pool size (capacity). This is used by the streaming credentials manager to size the re-auth worker pool.

()

Source from the content-addressed store, hash-verified

339 // Size returns the maximum pool size (capacity).
340 // This is used by the streaming credentials manager to size the re-auth worker pool.
341 Size() int
342
343 AddPoolHook(hook PoolHook)
344 RemovePoolHook(hook PoolHook)

Callers 2

NewManagerFunction · 0.65
pool_test.goFile · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected