Merge pull request #598 from csoler/v0.6-GXS-LimitedSync2

fixed compilation and set the default storage to 1year to comply with…
This commit is contained in:
csoler 2016-12-14 10:06:41 +01:00 committed by GitHub
commit f3c4de2d3c
2 changed files with 2 additions and 1 deletions

View File

@ -37,7 +37,7 @@ typedef std::map<RsGxsGrpMsgIdPair, std::vector<RsGxsMsgMetaData*> > 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

View File

@ -200,6 +200,7 @@
#include <sys/time.h>
#include <math.h>
#include <sstream>
#include <typeinfo>
#include "rsgxsnetservice.h"
#include "gxssecurity.h"