1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-28 17:31:28 +00:00

bump up debugging in daemon

This commit is contained in:
Andrew Dolgov
2007-03-14 15:50:28 +01:00
parent 76e8393b0a
commit 219bd8fcfc
2 changed files with 26 additions and 4 deletions

View File

@@ -4,12 +4,12 @@
// continuously
define('DEFAULT_ERROR_LEVEL', E_ALL);
error_reporting(E_ALL);
declare(ticks = 1);
define('MAGPIE_CACHE_DIR', '/var/tmp/magpie-ttrss-cache-daemon');
define('DISABLE_SESSIONS', true);
define('DAEMON_EXTENDED_DEBUG', true);
define('PURGE_INTERVAL', 3600); // seconds
@@ -25,6 +25,8 @@
require_once "functions.php";
require_once "magpierss/rss_fetch.inc";
error_reporting(E_ALL);
function sigint_handler() {
unlink("update_daemon.lock");
die("Received SIGINT. Exiting.\n");