What is the issue you are having?
A panic occurred, causing the lock to remain engaged. Even if I use recover from the panic, the program cannot continue running because the lock is not released. When other goroutines try to use bigcache, they cannot acquire the lock and will wait indefinitely.
What is the issue you are having? A panic occurred, causing the lock to remain engaged. Even if I use recover from the panic, the program cannot continue running because the lock is not released. When other goroutines try to use bigcache, they cannot acquire the lock and will wait indefinitely.
bigcache config:
other info: i put key to bigcache 50000/min 60000 keys in bigcache
What is BigCache doing that it shouldn't?
Minimal, Complete, and Verifiable Example
i can
t provide minimal,because I cann
t reliably reproduce this problem. It occurs randomly within 2 to 48 hours after the program starts.Environment:
/etc/os-release
or winver.exe): linux