Skip to content

Commit

Permalink
Merge pull request #1186 from tobiaslins/fix-priority-rn-sqlite
Browse files Browse the repository at this point in the history
[React Native] Change priority of sqlite to `100`
  • Loading branch information
gdorsi authored Jan 11, 2025
2 parents 2ddccdb + 3e92680 commit 4a11682
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/large-lies-change.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"cojson-storage-rn-sqlite": patch
---

Fix priority of rn sqlite
4 changes: 2 additions & 2 deletions packages/cojson-storage-rn-sqlite/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# CoJSON Storage SQLite
# CoJSON Storage SQLite for React Native

This implements persistence for CoJSON / Jazz (see [jazz.tools](https://jazz.tools)) using SQLite.
This implements persistence for CoJSON / Jazz (see [jazz.tools](https://jazz.tools)) using SQLite.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export class SQLiteReactNative {
localNodeAsPeer.outgoing,
);

return { ...storageAsPeer, priority: 90 };
return { ...storageAsPeer, priority: 100 };
}

static async open(
Expand Down

0 comments on commit 4a11682

Please sign in to comment.