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



commit 43f64c5865a0940ee11ccecdbe3f0bf6dbfed1db
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]