Skip to content

Commit

Permalink
refactor: Increase rate us timeout from 7 to 25 days
Browse files Browse the repository at this point in the history
  • Loading branch information
Lastaapps committed Jul 12, 2024
1 parent b122ce3 commit 9df1c1b
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2023, Petr Laštovička as Lasta apps, All rights reserved
* Copyright 2024, Petr Laštovička as Lasta apps, All rights reserved
*
* This file is part of Menza.
*
Expand Down Expand Up @@ -63,6 +63,8 @@ internal class RateUsRepositoryImpl(
}

companion object {
private val SHOULD_RATE_AFTER = 7.days
// this should not be to short and also not multiple of 7
// as people hate seeing it the same day every time (at least Zigy does)
private val SHOULD_RATE_AFTER = 25.days
}
}

0 comments on commit 9df1c1b

Please sign in to comment.