default crowdsec install sqlite is not using WAL mode

[ad_1]

On a default crowdsec install, the logs complain of “sqlite is not using WAL mode” the default pragma property is DELETE so why is not set at install?

Shall we correct this error :

time="25-04-2023 13:14:47" level=warning msg="sqlite is not using WAL mode, LAPI might become unresponsive when inserting the community blocklist"
time="25-04-2023 13:14:48" level=info msg="crowdsecurity/community-blocklist : added 14988 entries, deleted 14118 entries (alert:2)"

with

#sqlite3 crowdsec.db 'PRAGMA journal_mode=WAL;'

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer