Reduced Gmail token lifetime

This commit is contained in:
M66B 2020-11-30 08:59:57 +01:00
parent c4445464ff
commit 31b8ebf7ce
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ public class GmailState {
private long acquired;
static final String TYPE_GOOGLE = "com.google";
private static final long TOKEN_LIFETIME = 3600 * 1000L; // milliseconds
private static final long TOKEN_LIFETIME = 45 * 60 * 1000L; // milliseconds
private GmailState(String token, long acquired) {
this.token = token;