Remove 'sync' from default verbose flags (#3319)
Do not give sync feedback when not doing remote sync
This commit is contained in:
committed by
GitHub
parent
fd306712b8
commit
a6b721853b
@@ -207,6 +207,11 @@ void feedback_unblocked (const Task& task)
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
void feedback_backlog ()
|
||||
{
|
||||
// If non-local sync is not set up, do not provide this feedback.
|
||||
if (Context::getContext ().config.get ("sync.encryption_secret") == "") {
|
||||
return;
|
||||
}
|
||||
|
||||
if (Context::getContext ().verbose ("sync"))
|
||||
{
|
||||
int count = Context::getContext ().tdb2.num_local_changes ();
|
||||
|
||||
Reference in New Issue
Block a user