fixed compilation and set the default storage to 1year to comply with forum default

This commit is contained in:
csoler 2016-12-14 09:59:20 +01:00
parent cbc82870e6
commit a8422028fe
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"