fix time between extensions list checks

This commit is contained in:
Aria Moradi 2021-04-01 23:39:00 +04:30
parent 63db2e6695
commit 8c80ad7575

View File

@ -29,7 +29,7 @@ object ExtensionsList {
var updateMap = ConcurrentHashMap<String, Extension.Available>()
// const val ExtensionUpdateDelayTime = 60 * 1000 // 60,000 milliseconds = 60 seconds
const val ExtensionUpdateDelayTime = 0
const val ExtensionUpdateDelayTime = 60 * 1000
fun getExtensionList(): List<ExtensionDataClass> {
// update if {ExtensionUpdateDelayTime} seconds has passed or requested offline and database is empty