Skip to content

Commit 057066e

Browse files
Cleanup
1 parent 4065718 commit 057066e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/firestore/src/local/instance_metadata_channel.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,9 @@ const LOG_TAG = 'InstanceMetadataChannel';
2626

2727
const FIRESTORE_PREFIX = 'fs';
2828

29-
// The format of an instance key if:
29+
// The format of an instance key is:
3030
// fs_instances_<persistence_prefix>_<instance_key>
31-
const INSTANCE_KEY_REGEX = /fs_instances_([^_]*)_[^_]{20}/;
3231
const INSTANCE_KEY_NAMESPACE = 'instances';
33-
const INSTANCE_KEY_SEGMENT_COUNT = 3;
3432

3533
/**
3634
* A randomly-generated key assigned to each Firestore instance at startup.

0 commit comments

Comments
 (0)