MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / PopOldest

Function PopOldest

internal/redisqueue/queue.go:88–96  ·  view source on GitHub ↗
(count int)

Source from the content-addressed store, hash-verified

86}
87
88func PopOldest(count int) [][]byte {
89 if !Enabled() {
90 return nil
91 }
92 if count <= 0 {
93 return nil
94 }
95 return global.popOldest(count)
96}
97
98func SubscribeUsage() (<-chan []byte, func()) {
99 return global.subscribe(usageSubscriberBuffer, []byte(usageSupportRefreshPayload))

Calls 2

EnabledFunction · 0.85
popOldestMethod · 0.80