diff options
author | The Fox in the Shell <KellerFuchs@hashbang.sh> | 2017-04-15 21:12:54 +0000 |
---|---|---|
committer | Mykola Bilokonsky <mbilokonsky@gmail.com> | 2017-04-15 23:12:54 +0200 |
commit | dfb299469f9938395844151718c160e4c563fa26 (patch) | |
tree | e860fa55ed6c7ae86df778a6c7c8a74f5d7edf7e | |
parent | a60733a18c884d81e6aff8430b192c830f10815c (diff) |
README: Update (cache not naive anymore) (#6)
-rw-r--r-- | readme.md | 2 |
1 files changed, 1 insertions, 1 deletions
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? |