Merge pull request #4050 from vector-im/dependabot/gradle/kotlin-1.5.31
Bump kotlin from 1.5.30 to 1.5.31
This commit is contained in:
commit
0033378f8b
|
@ -9,8 +9,8 @@ ext.versions = [
|
||||||
|
|
||||||
def gradle = "7.0.2"
|
def gradle = "7.0.2"
|
||||||
// Ref: https://kotlinlang.org/releases.html
|
// Ref: https://kotlinlang.org/releases.html
|
||||||
def kotlin = "1.5.30"
|
def kotlin = "1.5.31"
|
||||||
def kotlinCoroutines = "1.5.1"
|
def kotlinCoroutines = "1.5.2"
|
||||||
def dagger = "2.38.1"
|
def dagger = "2.38.1"
|
||||||
def retrofit = "2.9.0"
|
def retrofit = "2.9.0"
|
||||||
def arrow = "0.8.2"
|
def arrow = "0.8.2"
|
||||||
|
|
|
@ -39,7 +39,7 @@ sealed class InitialSyncStrategy {
|
||||||
* Limit to reach to decide to split the init sync response into smaller files
|
* Limit to reach to decide to split the init sync response into smaller files
|
||||||
* Empiric value: 1 megabytes
|
* Empiric value: 1 megabytes
|
||||||
*/
|
*/
|
||||||
val minSizeToSplit: Long = 1024 * 1024,
|
val minSizeToSplit: Long = 1_048_576, // 1024 * 1024
|
||||||
/**
|
/**
|
||||||
* Limit per room to reach to decide to store a join room ephemeral Events into a file
|
* Limit per room to reach to decide to store a join room ephemeral Events into a file
|
||||||
* Empiric value: 1 kilobytes
|
* Empiric value: 1 kilobytes
|
||||||
|
|
|
@ -146,7 +146,7 @@ class PreviewUrlRetriever(session: Session,
|
||||||
|
|
||||||
companion object {
|
companion object {
|
||||||
// One week in millis
|
// One week in millis
|
||||||
private const val CACHE_VALIDITY: Long = 7 * 24 * 3_600 * 1_000
|
private const val CACHE_VALIDITY = 604_800_000L // 7 * 24 * 3_600 * 1_000
|
||||||
|
|
||||||
private val blockedDomains = listOf(
|
private val blockedDomains = listOf(
|
||||||
"https://matrix.to",
|
"https://matrix.to",
|
||||||
|
|
Loading…
Reference in New Issue