mirror of
https://gitlab.com/mangadex-pub/mangadex_at_home.git
synced 2024-11-17 00:22:32 +01:00
Merge branch 'fix-declare-constant-as-field' into 'master'
Declare "MAX_AGE_CACHE" non-primitive constant as field See merge request mangadex-pub/mangadex_at_home!63
This commit is contained in:
commit
4b1db7c705
@ -22,7 +22,8 @@ import java.time.Duration
|
||||
|
||||
object Constants {
|
||||
const val CLIENT_BUILD = 16
|
||||
val MAX_AGE_CACHE: Duration = Duration.ofDays(14)
|
||||
|
||||
@JvmField val MAX_AGE_CACHE: Duration = Duration.ofDays(14)
|
||||
|
||||
const val MAX_READ_TIME_SECONDS = 300
|
||||
const val MAX_WRITE_TIME_SECONDS = 60
|
||||
|
Loading…
Reference in New Issue
Block a user