Topic: SQLite3 multithreading.

in include/dblayer/sqlite3.php change:

$this->link_id = new SQLite3($db_name, SQLITE3_OPEN_READWRITE);

to:

$this->link_id = new SQLite3($db_name);
$this->link_id->busyTimeout(2000);
$this->link_id->exec("PRAGMA journal_mode = WAL;");

This increases the speed of the forum.
Reduces the number of errors: the base is locked.

My PunBB forum + AntiBot = no spam ))

Re: SQLite3 multithreading.

2019-11-29
http://punbb.informer.com/forums/post/158401/#p158401
item number 7

Parserus, UserAgentAnalyzer.
I speak only Russian  :P