MCPcopy Create free account
hub / github.com/livekit/livekit / CheckDataBlobKeyLength

Method CheckDataBlobKeyLength

pkg/config/config.go:331–333  ·  view source on GitHub ↗
(key string)

Source from the content-addressed store, hash-verified

329}
330
331func (l LimitConfig) CheckDataBlobKeyLength(key string) bool {
332 return l.MaxDataBlobKeyLength == 0 || len(key) <= l.MaxDataBlobKeyLength
333}
334
335func (l LimitConfig) CheckDataBlobsSize(dataBlobs []*livekit.DataBlob) bool {
336 if l.MaxDataBlobSize == 0 {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected