Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagephp
/**********************************************************************************
* Trigger folder re-sync - Settings
*
* Set these thresholds to fine tune the Folder re-sync Triggering 
*/
// Max block deletions quantity threshold to evaulate a possible Folder re-sync trigger
define('DELETION_COUNT_THR', 1000);
// Ratio between the number of deletions commands received and the remaining folder elements after the deletions.
// Over this threshold a Folder re-sync is triggered.
define('DELETION_RATIO_THR', 1);


Retry loop when writing file state machine data to disk (since Z-Push 2.

...

4.

...

4)

To avoid the error "FatalMisconfigurationException: FileStateMachine->SetState(): Could not write state" due to an "Input/output error (2)", a parametric retry loop is added when writing file state machine data to disk. 

...