Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f2a818f2 authored by Ivan Baheux's avatar Ivan Baheux Committed by Nishith Khanna
Browse files

mail: Change default poll/sync frequency to 5min

parent 179bd1d4
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -7,6 +7,7 @@ enum class EmailCheckFrequency(
    val minutes: Int,
) {
    MANUAL(-1),
    EVERY_5_MINUTES(5),
    EVERY_15_MINUTES(15),
    EVERY_30_MINUTES(30),
    EVERY_HOUR(1.fromHour()),
@@ -18,7 +19,7 @@ enum class EmailCheckFrequency(
    ;

    companion object {
        val DEFAULT = EVERY_HOUR
        val DEFAULT = EVERY_5_MINUTES
        fun all() = entries.toImmutableList()

        fun fromMinutes(minutes: Int): EmailCheckFrequency {