Skip to content

Commit a0aecb3

Browse files
authored
Merge pull request #28 from powersync-ja/fix-typos
Fix typos
2 parents b0f7446 + 14c18ad commit a0aecb3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/powersync-attachments/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ The `AttachmentQueue` class is used to manage and sync attachments in your app.
2323

2424
### Example
2525

26-
In this example, the user captures photos when checklist item are be completed as part of an Inspection workflow.
26+
In this example, the user captures photos when checklist items are completed as part of an inspection workflow.
2727

2828
The schema for the `checklist` table:
2929

@@ -194,7 +194,8 @@ Any `AttachmentRecord` with `id` in first set of IDs retrieved from the watch qu
194194
195195
The `AttachmentQueue` sets up two watch queries on the `attachments` table, one for records in `QUEUED_UPLOAD` state and one for `QUEUED_DOWNLOAD` state.
196196
197-
In addition to watching for changes, the `AttachmentQueue` also trigger a sync every few seconds. This will retry any failed uploads/downloads, in particular after the app was offline
197+
In addition to watching for changes, the `AttachmentQueue` also triggers a sync every few seconds. This will retry any failed uploads/downloads, in particular after the app was offline.
198+
198199
By default, this is every 30 seconds, but can be configured by setting `syncInterval` in the `AttachmentQueue` constructor options, or disabled by setting the interval to `0`.
199200
200201
### Uploading

0 commit comments

Comments
 (0)