Skip to content

Troubleshooting Guide

Quick solutions for common problems.

Decision Tree

Issue TypeGo to
Cache not workingCache Issues
Locks not workingLock Issues
Slow performancePerformance Issues
Need to debugDebugging

Common Quick Fixes

"Cache not invalidating"

typescript
// Check tag names match
@Cached({ tags: ['users'] })  // Producer
await cache.invalidateTags(['users']);  // Consumer - same tag!

"Lock timeout"

typescript
// Increase timeout
@WithLock({
  key: 'mykey',
  waitTimeout: 10000,  // Increase from default
})

"Connection refused"

bash
# Check Redis is running
redis-cli ping

# Check host/port
echo $REDIS_HOST $REDIS_PORT

"High latency"

bash
# Check Redis latency
redis-cli --latency

# Check slow log
redis-cli SLOWLOG GET 10

Getting Help

  1. Check this troubleshooting guide
  2. Search GitHub Issues
  3. Ask in Discord
  4. Open a new issue with reproduction

Next Steps

Released under the MIT License.