Remove 'sync' from default verbose flags (#3319)

Do not give sync feedback when not doing remote sync
This commit is contained in:
Dustin J. Mitchell 2024-04-07 21:02:07 -04:00 committed by GitHub
parent fd306712b8
commit a6b721853b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 ();