Skip to content

Commit 2e33707

Browse files
committed
Update with changes in sync rules.
1 parent ec0769f commit 2e33707

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

demos/benchmarks/lib/app_config_template.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ class AppConfig {
44
static const String powersyncUrl = 'http://localhost:8080';
55
static const String backendUrl = 'http://localhost:6060';
66
static const String token = '';
7+
static const String sizeBucket = '10k';
78
}

demos/benchmarks/lib/models/schema.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ Schema schema = const Schema(([
1010
// We don't query this, but we do sync these.
1111
// This is used to test large db sizes without having many
1212
// benchmark_items.
13-
Table('lists', [Column.text('name')]),
13+
Table('bulk_data', [Column.text('created_at'), Column.text('name')]),
1414
]));

demos/benchmarks/lib/powersync.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,5 +107,6 @@ Future<void> openDatabase() async {
107107
timer.start(db);
108108
db.connect(
109109
connector: currentConnector,
110+
params: {'size_bucket': AppConfig.sizeBucket},
110111
crudThrottleTime: const Duration(milliseconds: 1));
111112
}

0 commit comments

Comments
 (0)