mirror of
https://github.com/abraunegg/onedrive
synced 2026-03-14 14:35:46 +01:00
Implement FR #3387: Show GUI notification when sync suspends due to 'large delete' threshold (#3388)
* Implement #3387 to show GUI notification when sync suspends due to 'large delete' threshold
This commit is contained in:
parent
4380ddafa8
commit
a82595ad5d
1 changed files with 4 additions and 1 deletions
|
|
@ -9719,7 +9719,10 @@ class SyncEngine {
|
|||
// A big delete has been detected
|
||||
flagAsBigDelete = true;
|
||||
if (!appConfig.getValueBool("force")) {
|
||||
addLogEntry("ERROR: An attempt to remove a large volume of data from OneDrive has been detected. Exiting client to preserve your data on Microsoft OneDrive");
|
||||
// Send this message to the GUI
|
||||
addLogEntry("ERROR: An attempt to remove a large volume of data from OneDrive has been detected. Exiting client to preserve your data on Microsoft OneDrive", ["info", "notify"]);
|
||||
|
||||
// Additional application logging
|
||||
addLogEntry("ERROR: The total number of items being deleted is: " ~ to!string(itemsToDelete));
|
||||
addLogEntry("ERROR: To delete a large volume of data use --force or increase the config value 'classify_as_big_delete' to a larger value");
|
||||
addLogEntry("ERROR: Optionally, perform a --resync to reset your local synchronisation state");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue