feat: Implement the sync protocol (#54)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
This commit is contained in:
parent
83fbef8d2c
commit
f85239c3a4
1 changed files with 3031 additions and 306 deletions
|
|
@ -185,8 +185,6 @@ class TypesTableBenchmark extends AsyncBenchmarkBase {
|
|||
|
||||
Future<void> _bootstrapDatabase() async {
|
||||
await clearUserTables(_plainSession);
|
||||
CrdtUserManager.clearCache();
|
||||
HlcManager.reset();
|
||||
final wrapped = CrdtDatabaseSession.wraps(
|
||||
_plainSession,
|
||||
syncTables: benchmarkSyncTables,
|
||||
|
|
@ -274,8 +272,6 @@ class TypesTableBenchmark extends AsyncBenchmarkBase {
|
|||
_seededRows = [];
|
||||
await clearUserTables(_plainSession);
|
||||
await _plainSession.db.unsafeExecute('VACUUM');
|
||||
CrdtUserManager.clearCache();
|
||||
HlcManager.reset();
|
||||
final wrapped = CrdtDatabaseSession.wraps(
|
||||
_plainSession,
|
||||
syncTables: benchmarkSyncTables,
|
||||
|
|
|
|||
Loading…
Reference in a new issue