thread_autoupdater.js: decrease tslp backoff

This commit is contained in:
Jon 2024-02-26 18:13:20 +00:00
parent e6ef9d0d83
commit a5969f4e80
No known key found for this signature in database
GPG Key ID: 0175F5C9B8E9F984
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ $().ready(() => {
} }
const updateSecondsByTSLP = post_info => { const updateSecondsByTSLP = post_info => {
secondsCounter = Math.floor(((Date.now() - post_info.getCreatedAt().getTime()) / 30000)) secondsCounter = Math.floor(((Date.now() - post_info.getCreatedAt().getTime()) / 120000))
secondsCounter = secondsCounter > 1000 ? 1000 : secondsCounter secondsCounter = secondsCounter > 1000 ? 1000 : secondsCounter
secondsCounter = secondsCounter < 11 ? 11 : secondsCounter secondsCounter = secondsCounter < 11 ? 11 : secondsCounter
} }