Backlog
- Removed backlog file processing, which slows down processing. When 2.1 has taskd support, the backlog will be cleared, but until then there is no point in accumulating transactions.
This commit is contained in:
@@ -25,7 +25,6 @@
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <sstream>
|
||||
@@ -64,7 +63,10 @@ int CmdStatistics::execute (std::string& output)
|
||||
size_t dataSize = context.tdb2.pending._file.size ()
|
||||
+ context.tdb2.completed._file.size ()
|
||||
+ context.tdb2.undo._file.size ()
|
||||
/*
|
||||
// TODO Re-enable this once 2.1 has taskd support.
|
||||
+ context.tdb2.backlog._file.size ()
|
||||
*/
|
||||
+ context.tdb2.synch_key._file.size ();
|
||||
|
||||
// Count the undo transactions.
|
||||
|
||||
@@ -25,7 +25,6 @@
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <iostream>
|
||||
|
||||
@@ -80,7 +80,7 @@
|
||||
#include <CmdStatistics.h>
|
||||
#include <CmdStop.h>
|
||||
#include <CmdSummary.h>
|
||||
#include <CmdSynch.h>
|
||||
//#include <CmdSynch.h>
|
||||
#include <CmdTags.h>
|
||||
#include <CmdTimesheet.h>
|
||||
#include <CmdUndo.h>
|
||||
@@ -151,7 +151,7 @@ void Command::factory (std::map <std::string, Command*>& all)
|
||||
c = new CmdStatistics (); all[c->keyword ()] = c;
|
||||
c = new CmdStop (); all[c->keyword ()] = c;
|
||||
c = new CmdSummary (); all[c->keyword ()] = c;
|
||||
c = new CmdSynch (); all[c->keyword ()] = c;
|
||||
// c = new CmdSynch (); all[c->keyword ()] = c;
|
||||
c = new CmdTags (); all[c->keyword ()] = c;
|
||||
c = new CmdTimesheet (); all[c->keyword ()] = c;
|
||||
c = new CmdUndo (); all[c->keyword ()] = c;
|
||||
|
||||
Reference in New Issue
Block a user