main #8

Closed
limepotato wants to merge 183 commits from main into blog-drafts
Showing only changes of commit 4f934489d3 - Show all commits

View file

@ -14,8 +14,10 @@ import observer.nelle.nelleObserverBackend.logger
import observer.nelle.nelleObserverBackend.makePost import observer.nelle.nelleObserverBackend.makePost
import java.util.* import java.util.*
import kotlin.concurrent.timerTask import kotlin.concurrent.timerTask
import kotlin.time.Duration.Companion.minutes
var meowTimedOut = false var meowTimedOut = false
var timeoutTime = 33.minutes
fun meowTimer() { fun meowTimer() {
meowTimedOut = true meowTimedOut = true
@ -25,7 +27,7 @@ fun meowTimer() {
logger.debug { "timeout reset" } logger.debug { "timeout reset" }
}, },
// 33 minutes in milliseconds // 33 minutes in milliseconds
1980000, timeoutTime.inWholeMilliseconds,
) )
} }