Commit Graph

86 Commits

Author SHA1 Message Date
Andrew Dolgov bd8ae98bde daemon: include functions before config to enable define_default support 2013-12-18 14:00:44 +04:00
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 2013-09-02 12:33:59 +04:00
Andrew Dolgov 0f9067450a Revert "do not unlink lockfiles (closes #703)"
This reverts commit 9ffe8907dd.
2013-06-07 09:27:52 +04:00
Andrew Dolgov 9ffe8907dd do not unlink lockfiles (closes #703) 2013-06-01 10:06:59 +04:00
Andrew Dolgov 642432fc39 daemon: add sigterm handler for master 2013-05-29 15:11:46 +04:00
Andrew Dolgov e2cf81e214 unify houskeeping stuff, increase spawn interval 2013-04-24 14:54:59 +04:00
Andrew Dolgov 8cabc200d5 increase updstart locking interval to prevent concurrent updates; decrease batch size for the daemon 2013-04-24 14:23:38 +04:00
Andrew Dolgov 6c0d41c644 Merge branch 'master' of github.com:gothfox/Tiny-Tiny-RSS 2013-04-24 14:04:23 +04:00
Andrew Dolgov f90728cde2 increase MAX_CHILD_RUNTIME 2013-04-24 14:03:57 +04:00
Andrew Dolgov 867fb07c39 daemon: remove feed limit (unused) 2013-04-24 13:54:04 +04:00
Andrew Dolgov 0e6bdaeff0 daemon: use define_default 2013-04-24 13:52:09 +04:00
Andrew Dolgov 7440a7fe3c daemon2: use passthrough to daemon-loop 2013-04-17 18:19:28 +04:00
Andrew Dolgov eefaa2df38 remove db_connect, db_close; CLI fixes 2013-04-17 17:00:35 +04:00
Andrew Dolgov 6322ac79a0 remove $link 2013-04-17 16:48:41 +04:00
Andrew Dolgov 404e2e3603 more work on singleton-based DB 2013-04-17 15:36:48 +04:00
Andrew Dolgov ba68b6815a db updates, remove init_connection() 2013-04-17 14:23:35 +04:00
Andrew Dolgov 857efe49e6 add schema checking to feed updating and update script 2013-04-17 12:10:35 +04:00
Andrew Dolgov 2a649c447c enable logger in updater scripts 2013-04-17 09:09:59 +04:00
Andrew Dolgov a26f0c1759 fix divide by zero in feeds/minute reporting (closes #668) 2013-04-05 18:42:59 +04:00
Andrew Dolgov f0e015c428 daemon2: make wrong schema version error display if quiet 2013-04-01 19:51:59 +04:00
sash-kan ec25336d6a typos: "interval" has a value, option->options 2013-04-01 16:38:33 +04:00
Andrew Dolgov 4c2da34957 daemon2: check if schema version changed 2013-04-01 14:29:29 +04:00
Andrew Dolgov 32f3c02ba3 remove random waiting on task start, wait based on task id 2013-03-31 14:39:31 +04:00
Andrew Dolgov ee0542ce28 daemon: do not schedule user-disabled feeds (2) 2013-03-31 14:36:06 +04:00
Andrew Dolgov 842c2ab451 tweak daemon2 to run feedbrowser/etc tasks after update randomly, not instead of update 2013-03-30 17:44:22 +04:00
Andrew Dolgov e81610d9ef daemon: sort by random 2013-03-30 16:28:21 +04:00
Andrew Dolgov 8292d05b7c daemon: show feeds/minute stats 2013-03-30 16:25:10 +04:00
Andrew Dolgov 5e63e2fc9f daemon2: make update tasks to wait before starting updates to improve
last_update_started handling (refs #647)
2013-03-30 13:32:50 +04:00
Andrew Dolgov a8a039eb0d daemon2: wait longer between spawns (refs #647) 2013-03-30 13:23:47 +04:00
Andrew Dolgov 61aa749938 reduce next spawn idle messages 2013-03-29 13:04:05 +04:00
Andrew Dolgov db98542301 daemon2: actually handle --quiet option 2013-03-25 21:08:48 +04:00
Andrew Dolgov dc24b520cc update_daemon: use getopt; make things a bit more configurable, add help 2013-03-21 15:05:57 +04:00
Andrew Dolgov cfe6d444a9 add workaround against shutdown() being called in child task context 2013-02-25 21:59:26 +04:00
Andrew Dolgov f421fcd7e5 daemon: die if unable to create a stampfile 2013-02-25 21:39:51 +04:00
Andrew Dolgov 2cd099f0fb daemon: better shutdown/sigint reporting 2013-02-25 21:36:18 +04:00
Andrew Dolgov 724b7942ed daemon: install master shutdown handlers without a separate forking process 2013-02-25 21:32:48 +04:00
Andrew Dolgov 1a43a68cb1 daemon: enable master lockfile 2013-02-25 21:28:34 +04:00
Andrew Dolgov 77c21cef3a daemon: do not fork on startup 2013-01-04 02:35:28 +04:00
Andrew Dolgov 41b82aa4b9 add HOOK_UPDATE_TASK 2012-12-24 14:27:15 +04:00
Andrew Dolgov 19b3992b78 remove magpie, fix article filter plugins 2012-12-24 13:45:34 +04:00
Andrew Dolgov 88e8fb3a71 modify include path order (closes #514) 2012-12-09 13:41:22 +04:00
Andrew Dolgov 9aceda3afc remove hook-based plugins 2012-08-21 14:37:43 +04:00
Andrew Dolgov 369dbc19d6 rework class system to use subdirectories
add placeholder plugin/hook system
2012-08-17 14:22:33 +04:00
Andrew Dolgov 9765e8b9f1 fix includes order in update daemon 2012-08-12 11:18:03 +04:00
Andrew Dolgov bf0bedcbe5 update daemon shebang too 2012-06-22 08:09:42 +04:00
Andrew Dolgov 125ab8dbf7 daemon: assume child is dead if its lockfile is unlocked (refs #417) 2012-01-11 15:14:44 +04:00
Andrew Dolgov 5893edd57a fix daemon sleep interval 2011-12-26 13:50:35 +04:00
Andrew Dolgov f03a795de7 include path fix for lighttpd 2011-12-15 18:19:38 +04:00
Andrew Dolgov 2c08214a7f split rss updating stuff into separate include file 2011-12-13 16:06:25 +04:00
Andrew Dolgov 5f0a3741d0 add Public_Handler
misc code cleanup
2011-12-13 14:49:11 +04:00