[epiphany/wip/sync: 24/86] sync-service: Increase the certificate duration to 60 minutes



commit f790d3ae77d20e9634e1ee73cca66212eb1195f9
Author: Gabriel Ivascu <ivascu gabriel59 gmail com>
Date:   Thu Feb 23 14:43:25 2017 +0200

    sync-service: Increase the certificate duration to 60 minutes

 src/sync/ephy-sync-service.c |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/src/sync/ephy-sync-service.c b/src/sync/ephy-sync-service.c
index 1d446ba..0fd0a05 100644
--- a/src/sync/ephy-sync-service.c
+++ b/src/sync/ephy-sync-service.c
@@ -39,10 +39,7 @@
 #define MOZILLA_FXA_SERVER_URL    "https://api.accounts.firefox.com/v1/";
 #define EPHY_BOOKMARKS_COLLECTION "ephy-bookmarks"
 #define SYNC_FREQUENCY            (15 * 60) /* seconds */
-/* The lifetime of the certificate in milliseconds. The Firefox Accounts server
- * limits the duration to 24 hours. For our purposes, a duration of 30 minutes
- * will suffice. */
-#define CERTIFICATE_DURATION      (30 * 60 * 1000)
+#define CERTIFICATE_DURATION      (60 * 60 * 1000) /* milliseconds, limited to 24 hours */
 
 struct _EphySyncService {
   GObject      parent_instance;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]