From 211596e88c1b7e4024758b435526120a6f5b8688 Mon Sep 17 00:00:00 2001 From: drbob Date: Sat, 16 Mar 2013 12:47:31 +0000 Subject: [PATCH] tweaks for GXS test network. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6232 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- libretroshare/src/rsserver/rsinit.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libretroshare/src/rsserver/rsinit.cc b/libretroshare/src/rsserver/rsinit.cc index 3cb78e9c4..45c6a23e0 100644 --- a/libretroshare/src/rsserver/rsinit.cc +++ b/libretroshare/src/rsserver/rsinit.cc @@ -2273,7 +2273,7 @@ int RsServer::StartupRetroShare() std::string currGxsDir = RsInitConfig::configDir + "/GXS_phase1"; #ifdef GXS_DEV_TESTNET // Different Directory for testing. - currGxsDir += "_TESTNET"; + currGxsDir += "_TESTNET2"; #endif bool cleanUpGxsDir = false; @@ -2370,9 +2370,9 @@ int RsServer::StartupRetroShare() RsGeneralDataService* posted_ds = new RsDataService(currGxsDir + "/", "posted_db", RS_SERVICE_GXSV1_TYPE_POSTED); -//#ifndef GXS_DEV_TESTNET // NO RESET, OR DUMMYDATA for TESTNET +#ifndef GXS_DEV_TESTNET // NO RESET, OR DUMMYDATA for TESTNET posted_ds->resetDataStore(); //TODO: remove, new service data per RS session, for testing -//#endif +#endif mPosted = new p3Posted(posted_ds, NULL, mGxsIdService); @@ -2437,9 +2437,9 @@ int RsServer::StartupRetroShare() RsGeneralDataService* gxschannels_ds = new RsDataService(currGxsDir + "/", "gxschannels_db", RS_SERVICE_GXSV1_TYPE_CHANNELS); -//#ifndef GXS_DEV_TESTNET // NO RESET, OR DUMMYDATA for TESTNET - gxschannels_ds->resetDataStore(); //TODO: remove, new service data per RS session, for testing -//#endif +#ifndef GXS_DEV_TESTNET // NO RESET, OR DUMMYDATA for TESTNET + gxschannels_ds->resetDataStore(); //TODO: remove, new service data per RS session, for testing +#endif mGxsChannels = new p3GxsChannels(gxschannels_ds, NULL, mGxsIdService);