Interim release: documentation updates and rate limiting improvements
- Add applesauce library reference documentation - Add rate limiting test report for Badger - Add memory monitoring for rate limiter (platform-specific implementations) - Enhance PID-controlled adaptive rate limiting - Update Neo4j and Badger monitors with improved load metrics - Add docker-compose configuration - Update README and configuration options 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit was merged in pull request #3.
This commit is contained in:
@@ -447,3 +447,18 @@ func (n *N) CacheEvents(f *filter.F, events event.S) {}
|
||||
|
||||
// InvalidateQueryCache invalidates the query cache (not implemented for Neo4j)
|
||||
func (n *N) InvalidateQueryCache() {}
|
||||
|
||||
// Driver returns the Neo4j driver for use in rate limiting.
|
||||
func (n *N) Driver() neo4j.DriverWithContext {
|
||||
return n.driver
|
||||
}
|
||||
|
||||
// QuerySem returns the query semaphore for use in rate limiting.
|
||||
func (n *N) QuerySem() chan struct{} {
|
||||
return n.querySem
|
||||
}
|
||||
|
||||
// MaxConcurrentQueries returns the maximum concurrent query limit.
|
||||
func (n *N) MaxConcurrentQueries() int {
|
||||
return cap(n.querySem)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user