Andrew Dolgov
a1ca62af50
cache schema version better
4 years ago
Andrew Dolgov
29ada58b4a
move db-prefs shortcut functions to functions.php
4 years ago
Andrew Dolgov
12bcf826e4
don't include config.php everywhere
4 years ago
Andrew Dolgov
211f699aa0
migrate the rest into Config::
4 years ago
Andrew Dolgov
e4107ac952
wip: initial for config object
4 years ago
Andrew Dolgov
42173386b3
dirname(__FILE__) -> __DIR__
4 years ago
Andrew Dolgov
add6242e51
do not use define_default() because it screws with static analyzers
4 years ago
Andrew Dolgov
9f55454f63
remove the rest of db.php; rename some leftover methods in feeds
4 years ago
Andrew Dolgov
2abc434e26
daemon: clarify some task-related messages
4 years ago
Andrew Dolgov
72d0fac80c
remove version.php and VERSION global constant, do version-related things in a slightly less ridiculous way
5 years ago
Jordan Galby
487d06a20d
fix 'logging to...' output line not respecting quiet setting (update_daemon2.php)
6 years ago
Andrew Dolgov
8d190d539b
CLI tools: fix --quiet not working if --log is unset
6 years ago
Andrew Dolgov
c10a43069e
debug logging system rework:
...
* support various logging levels per-message
* remove hacks like debug_suppress, DAEMON_EXTENDED_DEBUG, etc
* _debug() is kept as a compatibility shim for plugins
6 years ago
Andrew Dolgov
4fd0790804
fix DAEMON_SLEEP_INTERVAL not being defined when used
...
enforce minimum 60 sec spawn/sleep interval in update processes
8 years ago
Andrew Dolgov
e6c886bf66
wrap rssfuncs into rssutils class
8 years ago
Andrew Dolgov
e552bb0bf6
update_daemon: mask phpmd stuff
8 years ago
Andrew Dolgov
45ce1610d2
fix previous on daemon2
11 years ago
Andrew Dolgov
6f61ba46c4
detect php cgi binary because people keep trying to run service scripts using it
11 years ago
Andrew Dolgov
bd8ae98bde
daemon: include functions before config to enable define_default support
11 years ago
Andrew Dolgov
a33558a61e
pass logfile to child tasks if locking is possible, lock logfile before writing, add kludge to prevent update_rss_feed unneeded debugging go into master logfile
11 years ago
Andrew Dolgov
0f9067450a
Revert "do not unlink lockfiles ( closes #703 )"
...
This reverts commit 9ffe8907dd
.
12 years ago
Andrew Dolgov
9ffe8907dd
do not unlink lockfiles ( closes #703 )
12 years ago
Andrew Dolgov
642432fc39
daemon: add sigterm handler for master
12 years ago
Andrew Dolgov
e2cf81e214
unify houskeeping stuff, increase spawn interval
12 years ago
Andrew Dolgov
8cabc200d5
increase updstart locking interval to prevent concurrent updates; decrease batch size for the daemon
12 years ago
Andrew Dolgov
6c0d41c644
Merge branch 'master' of github.com:gothfox/Tiny-Tiny-RSS
12 years ago
Andrew Dolgov
f90728cde2
increase MAX_CHILD_RUNTIME
12 years ago
Andrew Dolgov
867fb07c39
daemon: remove feed limit (unused)
12 years ago
Andrew Dolgov
0e6bdaeff0
daemon: use define_default
12 years ago
Andrew Dolgov
7440a7fe3c
daemon2: use passthrough to daemon-loop
12 years ago
Andrew Dolgov
eefaa2df38
remove db_connect, db_close; CLI fixes
12 years ago
Andrew Dolgov
6322ac79a0
remove $link
12 years ago
Andrew Dolgov
404e2e3603
more work on singleton-based DB
12 years ago
Andrew Dolgov
ba68b6815a
db updates, remove init_connection()
12 years ago
Andrew Dolgov
857efe49e6
add schema checking to feed updating and update script
12 years ago
Andrew Dolgov
2a649c447c
enable logger in updater scripts
12 years ago
Andrew Dolgov
a26f0c1759
fix divide by zero in feeds/minute reporting ( closes #668 )
12 years ago
Andrew Dolgov
f0e015c428
daemon2: make wrong schema version error display if quiet
12 years ago
sash-kan
ec25336d6a
typos: "interval" has a value, option->options
12 years ago
Andrew Dolgov
4c2da34957
daemon2: check if schema version changed
12 years ago
Andrew Dolgov
32f3c02ba3
remove random waiting on task start, wait based on task id
12 years ago
Andrew Dolgov
ee0542ce28
daemon: do not schedule user-disabled feeds (2)
12 years ago
Andrew Dolgov
842c2ab451
tweak daemon2 to run feedbrowser/etc tasks after update randomly, not instead of update
12 years ago
Andrew Dolgov
e81610d9ef
daemon: sort by random
12 years ago
Andrew Dolgov
8292d05b7c
daemon: show feeds/minute stats
12 years ago
Andrew Dolgov
5e63e2fc9f
daemon2: make update tasks to wait before starting updates to improve
...
last_update_started handling (refs #647 )
12 years ago
Andrew Dolgov
a8a039eb0d
daemon2: wait longer between spawns (refs #647 )
12 years ago
Andrew Dolgov
61aa749938
reduce next spawn idle messages
12 years ago
Andrew Dolgov
db98542301
daemon2: actually handle --quiet option
12 years ago
Andrew Dolgov
dc24b520cc
update_daemon: use getopt; make things a bit more configurable, add help
12 years ago