Skip to content

Commit

Permalink
fix: revert unwanted change in commit log keystore
Browse files Browse the repository at this point in the history
  • Loading branch information
murali-shris committed Dec 3, 2024
1 parent 281c375 commit 10acc4d
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
import 'package:at_commons/at_commons.dart';
import 'package:at_persistence_secondary_server/at_persistence_secondary_server.dart';
import 'package:at_persistence_secondary_server/src/keystore/hive_base.dart';
import 'package:at_persistence_secondary_server/src/log/commitlog/sync/fetch_all_keys_strategy.dart';
import 'package:at_persistence_secondary_server/src/log/commitlog/sync/skip_deletes_strategy.dart';
import 'package:at_persistence_secondary_server/src/log/commitlog/sync/sync_keys_fetch_strategy.dart';
import 'package:at_utils/at_utils.dart';
import 'package:hive/hive.dart';
import 'package:meta/meta.dart';
import 'package:at_persistence_secondary_server/src/log/commitlog/sync/fetch_all_keys_strategy.dart';
import 'package:at_persistence_secondary_server/src/log/commitlog/sync/skip_deletes_strategy.dart';
import 'package:at_persistence_secondary_server/src/log/commitlog/sync/sync_keys_fetch_strategy.dart';

@server
class CommitLogKeyStore extends BaseCommitLogKeyStore {
final _logger = AtSignLogger('CommitLogKeyStore');
late CommitLogCache commitLogCache;

late SyncKeysFetchStrategy _syncKeysFetchStrategy;

int get latestCommitId => commitLogCache.latestCommitId;

late SyncKeysFetchStrategy _syncKeysFetchStrategy;

CommitLogKeyStore(String currentAtSign) : super(currentAtSign) {
commitLogCache = CommitLogCache(this);
_syncKeysFetchStrategy = FetchAllKeysStrategy();
Expand Down

0 comments on commit 10acc4d

Please sign in to comment.