forked from leftypol/leftypol
(2/2) advanced build. implement a daemon that will build static pages.
implement a queue and a lock. fix notice in bans. and it even works! the daemon is basic right now, it could work in a mode that it will defer building certain pages until a certain time.
This commit is contained in:
parent
e265375475
commit
12e6aba5d4
6 changed files with 76 additions and 8 deletions
|
@ -103,7 +103,7 @@
|
|||
|
||||
/*
|
||||
* ====================
|
||||
* Cache settings
|
||||
* Cache, lock and queue settings
|
||||
* ====================
|
||||
*/
|
||||
|
||||
|
@ -120,6 +120,7 @@
|
|||
// $config['cache']['enabled'] = 'apc';
|
||||
// $config['cache']['enabled'] = 'memcached';
|
||||
// $config['cache']['enabled'] = 'redis';
|
||||
// $config['cache']['enabled'] = 'fs';
|
||||
|
||||
// Timeout for cached objects such as posts and HTML.
|
||||
$config['cache']['timeout'] = 60 * 60 * 48; // 48 hours
|
||||
|
@ -142,6 +143,12 @@
|
|||
// (this file will be explicitly loaded during cache hit, but not during cache miss).
|
||||
$config['cache_config'] = false;
|
||||
|
||||
// Define a lock driver.
|
||||
$config['lock']['enabled'] = 'fs';
|
||||
|
||||
// Define a queue driver.
|
||||
$config['queue']['enabled'] = 'fs'; // xD
|
||||
|
||||
/*
|
||||
* ====================
|
||||
* Cookie settings
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue