antonioribeiro / firewall

Firewall package for Laravel applications
BSD 3-Clause "New" or "Revised" License
1.39k stars 162 forks source link

Cache Expire time for Laravel 5.8 + #168

Open jmichaelterenin opened 4 years ago

jmichaelterenin commented 4 years ago

Hi antonioribeiro,

I was trying to figure out why there were frequent database calls to put the firewall list in memory, even though the config cache_expire_time was set to 60 (minutes), and it turns out as of Laravel 5.8, that value is now seconds, to fall in line with other libraries and PSRs.

Just giving you notice to update your config comments. Thanks again for providing this package!