23 Feb
2018
23 Feb
'18
6:43 a.m.
On Thu, 01 Feb 2018 at 11:55:44, Florian Pritz wrote:
This allows us to prevent users from hammering the API every few seconds to check if any of their packages were updated. Real world users check as often as every 5 or 10 seconds.
Signed-off-by: Florian Pritz <bluewind@xinu.at> ---
v2: - Fix column name scheme - Support sqlite - Simplify deletion of old limits - Put DDL SQL in schema - Allow to disable limit by setting to 0 in config
conf/config.proto | 4 +++ schema/aur-schema.sql | 10 ++++++ upgrading/4.7.0.txt | 11 ++++++ web/lib/aurjson.class.php | 86 +++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 111 insertions(+) create mode 100644 upgrading/4.7.0.txt
Merged into pu, thanks!