From dfb299469f9938395844151718c160e4c563fa26 Mon Sep 17 00:00:00 2001 From: The Fox in the Shell Date: Sat, 15 Apr 2017 21:12:54 +0000 Subject: README: Update (cache not naive anymore) (#6) --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 88f883d..214b3c6 100644 --- a/readme.md +++ b/readme.md @@ -81,7 +81,7 @@ As user `ambassador`, set the environment variables and do the following: yarn && yarn start -It'll cycle every 15 minutes, boosting new toots that have crossed the threshold. It keeps track, in memory, of which toots have already been boosted - that way it won't spam the server trying to boost them again and again. This is a very naive cache and technically a memory leak, so I'll fix that soon, but for now it's fine (and pm2 should gracefully restart in the event of a crash). +It'll cycle every 15 minutes, boosting new toots that have crossed the threshold. It keeps track, in memory, of which toots have already been boosted - that way it won't spam the server trying to boost them again and again. ## How does it determine what's good enough to boost? -- cgit