File tree 2 files changed +3
-1
lines changed
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -302,7 +302,7 @@ export class IndexedDbPersistence implements Persistence {
302
302
* Evaluate the state of all active instances and determine whether the local
303
303
* client is or can act as the holder of the primary lease. Returns whether
304
304
* the client is eligible for the lease, but does not actually acquire it.
305
- * May return 'false' even if there is no active leaseholder if another
305
+ * May return 'false' even if there is no active leaseholder and another
306
306
* (foreground) client should become leaseholder instead.
307
307
*/
308
308
private canActAsPrimary (
Original file line number Diff line number Diff line change @@ -252,6 +252,8 @@ export class SpecBuilder {
252
252
return this ;
253
253
}
254
254
255
+ // TODO: Replace with .runTimer(TimerId.ClientStateRefresh) once #412 is
256
+ // merged.
255
257
tryAcquirePrimaryLease ( ) : SpecBuilder {
256
258
this . nextStep ( ) ;
257
259
this . currentStep = {
You can’t perform that action at this time.
0 commit comments