- Make refresh_cache async to prevent rpcd watchdog kills - Fix JSON escaping for top_scenarios/countries arrays - Show decisions as "Active Bans" when alerts_raw is empty - Display ban expiry time instead of creation time - Update cron to run cache refresh in background Fixes LuCI crashes caused by 16s blocking refresh calls. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
4 lines
215 B
Plaintext
4 lines
215 B
Plaintext
# CrowdSec Dashboard cache refresh
|
|
# Refresh overview stats every minute - runs in background to avoid blocking rpcd
|
|
* * * * * root ( /usr/libexec/rpcd/luci.crowdsec-dashboard call refresh_cache & ) >/dev/null 2>&1
|