---
title: "sync"
canonical: "https://help.fieldbuddy.com/space/FBDOCS/5670830103/sync"
format: markdown
---
Define a default sync interval and custom sync triggers

| property | Description | Sample Value | Default |
| --- | --- | --- | --- |
| **syncIdLimit** | sets a max syncId for synchronization;<br>as soon as syncId reaches the limit, a hard sync is performed | ```
"syncIdLimit": 100
``` | `5000` |
| **interval** | sets default sync interval, in minutes | ```
"interval": 10
``` | `10` |
| **custom** | sets custom sync triggers  
`ON_SAVE_TIMESHEET` : Sync whenever you insert, update or delete a TSLI. (incl. automatic)<br>`ON_SAVE_CHECKLIST` is causing sync to be done every time when Checklist is saved<br>`ON_DUPLICATE` is when there is a network hickup, that will cause swift to re-sync again. We advice to always keep this on | ```
"custom": [
   "ON_SAVE_CHECKLIST",
   "ON_DUPLICATE",
   "ON_SAVE_TIMESHEET"
]
``` | ```
"custom": [
"ON_SAVE_CHECKLIST",
"ON_DUPLICATE"
]
``` |
| **intervalBasedSyncEnabled** | if set to false, it turns interval based sync completely;<br>if set to true, the mobile app syncs based on the value in the **interval** parameter. | ```
"intervalBasedSyncEnabled": false,
``` | false |
| **quickStatusSync** | if set to true, Work Order’s status change sync is limited to syncing Work Order’s fields only. the other changes are propagated within other sync | ```
"quickStatusSync": true,
``` | true |
| **enabledCompleteReload** | If set to true, after each synchronisation, all records present in the local mobile dataset are compared with the expected set of records. If any inconsistency is found, the user is visually recommended to reload. | ```
"enabledCompleteReload": false
``` | true |
| **storageApi** | Determines the way Swift updates incoming payload<br>options:<br>- “1.0” - default
- “2.0” - for now experimental and faster | ```
"storageApi": "2.0"
``` | “1.0” |