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 |
Andrew Dolgov
|
cfe6d444a9
|
add workaround against shutdown() being called in child task context
|
12 years ago |
Andrew Dolgov
|
f421fcd7e5
|
daemon: die if unable to create a stampfile
|
12 years ago |
Andrew Dolgov
|
2cd099f0fb
|
daemon: better shutdown/sigint reporting
|
12 years ago |
Andrew Dolgov
|
724b7942ed
|
daemon: install master shutdown handlers without a separate forking process
|
12 years ago |
Andrew Dolgov
|
1a43a68cb1
|
daemon: enable master lockfile
|
12 years ago |
Andrew Dolgov
|
77c21cef3a
|
daemon: do not fork on startup
|
12 years ago |
Andrew Dolgov
|
41b82aa4b9
|
add HOOK_UPDATE_TASK
|
12 years ago |
Andrew Dolgov
|
19b3992b78
|
remove magpie, fix article filter plugins
|
12 years ago |
Andrew Dolgov
|
88e8fb3a71
|
modify include path order (closes #514)
|
12 years ago |
Andrew Dolgov
|
9aceda3afc
|
remove hook-based plugins
|
12 years ago |
Andrew Dolgov
|
369dbc19d6
|
rework class system to use subdirectories
add placeholder plugin/hook system
|
12 years ago |
Andrew Dolgov
|
9765e8b9f1
|
fix includes order in update daemon
|
12 years ago |
Andrew Dolgov
|
bf0bedcbe5
|
update daemon shebang too
|
13 years ago |
Andrew Dolgov
|
125ab8dbf7
|
daemon: assume child is dead if its lockfile is unlocked (refs #417)
|
13 years ago |
Andrew Dolgov
|
5893edd57a
|
fix daemon sleep interval
|
13 years ago |
Andrew Dolgov
|
f03a795de7
|
include path fix for lighttpd
|
13 years ago |
Andrew Dolgov
|
2c08214a7f
|
split rss updating stuff into separate include file
|
13 years ago |
Andrew Dolgov
|
5f0a3741d0
|
add Public_Handler
misc code cleanup
|
13 years ago |
Andrew Dolgov
|
107d0cf39e
|
overall directory tree cleanup
|
13 years ago |
Andrew Dolgov
|
ae5f7bb11a
|
implement fetching and exporting of shared feeds
|
14 years ago |
Andrew Dolgov
|
9b27cec8c0
|
update.php & daemon: chdir to script directory using __FILE__ magic constant
|
14 years ago |
Andrew Dolgov
|
dbaa4e4aac
|
config: remove option ENABLE_UPDATE_DAEMON
|
14 years ago |
Andrew Dolgov
|
e3b42c5a80
|
misc daemon updates
|
14 years ago |
Andrew Dolgov
|
fb0742394a
|
remove error_reporting() hacks; set default error reporting level in functions.php
|
14 years ago |
Andrew Dolgov
|
7aabaa09e1
|
daemon2: check proper lockfile location in reap_children()
|
14 years ago |
Andrew Dolgov
|
8ccaff02b5
|
add some more lockfiles to update_daemon2
|
14 years ago |
Andrew Dolgov
|
a2d799815a
|
remove unnecessary mentions of global_purge_old_posts; add debugging to purge_orphans()
|
14 years ago |
Andrew Dolgov
|
0618b81c07
|
daemon: less gentle child unstucking
|
14 years ago |
Andrew Dolgov
|
51ddf0f8bb
|
daemon2: fix removing of pids from ctimes array
|
14 years ago |
Andrew Dolgov
|
0708291db4
|
daemon2: unbreak spawn interval
|
14 years ago |
Andrew Dolgov
|
c90a028cdc
|
daemon2: properly abort stuck children
|
14 years ago |
Andrew Dolgov
|
4c93bf06b6
|
remove custom hardcoded cache destinations in various daemon scripts
|
15 years ago |
Andrew Dolgov
|
1695664646
|
daemon: fallback automatically when pcntl_signal() is not present
|
15 years ago |
Andrew Dolgov
|
0002bc9f27
|
make update scripts executable
|
16 years ago |
Andrew Dolgov
|
816cdfb7ee
|
move magpie to lib/
|
16 years ago |
Andrew Dolgov
|
3907ef7111
|
purge feeds after updating
|
16 years ago |
Andrew Dolgov
|
b6d486a3a4
|
code cleanup; ccache category calculation for cid=0 corrected
|
16 years ago |
Andrew Dolgov
|
e3b5469373
|
regenerate feedbrowser cache from the update daemon
|
16 years ago |
Andrew Dolgov
|
f29ba1484f
|
code cleanup, test for db_escape() crazyness in DB sanity check
|
16 years ago |
Andrew Dolgov
|
98f7041837
|
daemon: define MAX_JOBS below config.php
|
17 years ago |
Andrew Dolgov
|
45004d4340
|
move update daemon code to common function, reorganize backend.php (patch from landure)
|
17 years ago |
Andrew Dolgov
|
2240601ccf
|
daemons: fix feed select query for PGSQL
|
17 years ago |
Andrew Dolgov
|
abfa57fdf0
|
merge stuff
|
17 years ago |
Andrew Dolgov
|
0d6a7147e5
|
daemons: only select feeds which require update (patch from landure)
|
17 years ago |
Andrew Dolgov
|
a65a05a72e
|
update_daemon2: only set SIGINT handler in lock managing subprocess
|
17 years ago |
Andrew Dolgov
|
5a613536c7
|
update_daemon2: check for dead children before spawning
|
17 years ago |
Andrew Dolgov
|
e933840523
|
update_daemon2: keep track of children PIDs
|
17 years ago |
Andrew Dolgov
|
010c16f184
|
enable DAEMON_EXTENDED_DEBUG when envvar DAEMON_XDEBUG is set
|
17 years ago |
Andrew Dolgov
|
ffa7cbae80
|
update_daemon2: import single-file version from landure
|
17 years ago |
Andrew Dolgov
|
73d3b9b1f6
|
update_daemon2: don't expect client part to be executable
|
17 years ago |
Andrew Dolgov
|
884c0a367b
|
update_daemon2: fix locking
|
17 years ago |
Andrew Dolgov
|
ce1aa9b7c2
|
update_daemon2: print idle notice once per 10 seconds
|
17 years ago |
Andrew Dolgov
|
6a69e61ffb
|
update_daemon2: make proper lockfile
|
17 years ago |
Andrew Dolgov
|
02008cb19a
|
add multiprocess update daemon
|
17 years ago |