Reduced Gmail token lifetime

pull/190/head 1.1411
M66B 4 years ago
parent c4445464ff
commit 31b8ebf7ce

@ -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;

Loading…
Cancel
Save