The <Configuration>/<Database>/<Prune> element

The <Configuration>/<Database>/<Prune> element controls how mm-sync monitors the database size and stops any ongoing synchronizations if the database gets too big.

Table 1. Contents of the Prune element:
Tag name Default Description
<MaxDatabaseSize> 0

Sets the database size threshold (in kilobytes) for stopping synchronization. The database size can exceed this value by the amount of space needed to store information for as many files as specified in <SyncInterval>, which is an indeterminate amount of space. So the threshold value serves as a guideline but not a hard limit.

If mm-sync checks the database size during synchronization and finds that it has grown beyond this value, mm-sync stops any ongoing synchronization involving that database.

A value of 0 disables size management.

<SyncInterval> 0

Specifies how many files mm-sync can add to the database between size checks. Larger values mean the size can exceed the <MaxDatabaseSize> threshold by a wider margin before mm-sync stops the synchronization. Smaller values mean more frequent size checks and hence, slower synchronizations.

A value of 0 disables size checking.