From a8422028fedb83bf4ab63d6332c12121762aad77 Mon Sep 17 00:00:00 2001 From: csoler Date: Wed, 14 Dec 2016 09:59:20 +0100 Subject: [PATCH] fixed compilation and set the default storage to 1year to comply with forum default --- libretroshare/src/gxs/rsgxs.h | 2 +- libretroshare/src/gxs/rsgxsnetservice.cc | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/libretroshare/src/gxs/rsgxs.h b/libretroshare/src/gxs/rsgxs.h index 100a93a23..28d4ce8a9 100644 --- a/libretroshare/src/gxs/rsgxs.h +++ b/libretroshare/src/gxs/rsgxs.h @@ -37,7 +37,7 @@ typedef std::map > MsgRelatedM // Default values that are used throughout GXS code -static const uint32_t RS_GXS_DEFAULT_MSG_STORE_PERIOD = 86400 * 30 * 6 ; // six months. Default time for which messages are keps in the database. +static const uint32_t RS_GXS_DEFAULT_MSG_STORE_PERIOD = 86400 * 365 ; // 1 year. Default time for which messages are keps in the database. static const uint32_t RS_GXS_DEFAULT_MSG_SEND_PERIOD = 86400 * 30 * 1 ; // one month. Default delay after which we don't send messages static const uint32_t RS_GXS_DEFAULT_MSG_REQ_PERIOD = 86400 * 30 * 1 ; // one month. Default Delay after which we don't request messages diff --git a/libretroshare/src/gxs/rsgxsnetservice.cc b/libretroshare/src/gxs/rsgxsnetservice.cc index 205711e84..2e310e8fa 100644 --- a/libretroshare/src/gxs/rsgxsnetservice.cc +++ b/libretroshare/src/gxs/rsgxsnetservice.cc @@ -200,6 +200,7 @@ #include #include #include +#include #include "rsgxsnetservice.h" #include "gxssecurity.h"