mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-02 11:16:34 -04:00
Added flag to disable dbase reset, and disable dummy data creation.
This also switches to alternative test data path - to ensure it will be empty. Fixed bug in p3idservice related to dummy id creation. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6114 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
7867063734
commit
81307de7c9
8 changed files with 79 additions and 16 deletions
|
@ -64,10 +64,14 @@ void p3Posted::notifyChanges(std::vector<RsGxsNotify *> &changes)
|
|||
void p3Posted::service_tick()
|
||||
{
|
||||
|
||||
#ifndef GXS_DEV_TESTNET // DISABLE DUMMYDATA if TEST_NET
|
||||
|
||||
generateTopics();
|
||||
generatePosts();
|
||||
generateVotesAndComments();
|
||||
|
||||
#endif
|
||||
|
||||
// time_t now = time(NULL);
|
||||
//
|
||||
// if((now > (time_t) (VOTE_UPDATE_PERIOD + mLastUpdate)) &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue