liquid_feedback_core
changeset 202:fa394b8a0157
Changed README file to explicitly explain that lf_update needs to be called via cron or similar
author | jbe |
---|---|
date | Thu Oct 06 16:38:51 2011 +0200 (2011-10-06) |
parents | 36b05fc87e97 |
children | 976e7dafe641 |
files | README |
line diff
1.1 --- a/README Sun Sep 11 01:45:29 2011 +0200 1.2 +++ b/README Thu Oct 06 16:38:51 2011 +0200 1.3 @@ -9,10 +9,16 @@ 1.4 Compile lf_update binary: 1.5 $ make 1.6 1.7 -If you wish, copy the created lf_update file to /usr/local/bin or a 1.8 -similar directory. Ensure that "lf_update dbname=liquid_feedback" 1.9 -is called regularly. On successful run, lf_update will not produce 1.10 -any output and exit with code 0. 1.11 +Ensure that "lf_update dbname=liquid_feedback" is called regularly! 1.12 + 1.13 +It is required that lf_update is executed regulary (i.e. every 1.14 +5 minutes via cron) to update cached supporter counts, to change 1.15 +the state of issues when neccessary, and to calculate the result 1.16 +of votings. If you wish, copy the created lf_update file to 1.17 +/usr/local/bin or a similar directory. 1.18 + 1.19 +On successful run, lf_update will not produce any output 1.20 +and exit with code 0. 1.21 1.22 NOTE: When writing to the database, some INSERTs must be executed 1.23 within the same transaction, e.g. issues can't exist without