# HG changeset patch # User jbe # Date 1317911931 -7200 # Node ID fa394b8a01574be279c87aee12e03cc08aff72dc # Parent 36b05fc87e97a78a30c4312e7e802be98d3eef36 Changed README file to explicitly explain that lf_update needs to be called via cron or similar diff -r 36b05fc87e97 -r fa394b8a0157 README --- a/README Sun Sep 11 01:45:29 2011 +0200 +++ b/README Thu Oct 06 16:38:51 2011 +0200 @@ -9,10 +9,16 @@ Compile lf_update binary: $ make -If you wish, copy the created lf_update file to /usr/local/bin or a -similar directory. Ensure that "lf_update dbname=liquid_feedback" -is called regularly. On successful run, lf_update will not produce -any output and exit with code 0. +Ensure that "lf_update dbname=liquid_feedback" is called regularly! + +It is required that lf_update is executed regulary (i.e. every +5 minutes via cron) to update cached supporter counts, to change +the state of issues when neccessary, and to calculate the result +of votings. If you wish, copy the created lf_update file to +/usr/local/bin or a similar directory. + +On successful run, lf_update will not produce any output +and exit with code 0. NOTE: When writing to the database, some INSERTs must be executed within the same transaction, e.g. issues can't exist without