feat: upgrade go, packages and actions (#116)

* chore: upgrade go and packages

* chore: upgrade actions

* fix(ci): use go version from .go-version

* fix: backpressure tests optimization
This commit is contained in:
2025-12-07 06:10:33 +02:00
committed by GitHub
parent f56685ce62
commit 87f0cdb44f
7 changed files with 22 additions and 14 deletions

View File

@@ -108,6 +108,14 @@ func (bp *BackpressureManager) ApplyBackpressure(ctx context.Context) {
return
}
// Check for context cancellation before doing expensive operations
select {
case <-ctx.Done():
return
default:
// Continue with backpressure logic
}
// Force garbage collection to free up memory
runtime.GC()