Skip to content

Commit 60a5da4

Browse files
author
Alexey Temnikov
committed
pollingSet method - start has been removed, adjusted code to use proper add instead.
Commit Reference - 825d2fc
1 parent 410d38e commit 60a5da4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/core/src/docdb/explorer/dbResourceNode.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,18 +123,18 @@ export abstract class DBResourceNode extends AWSTreeNodeBase implements AWSResou
123123
this.isPolling = true
124124
await this.waitUntilStatusChanged(true, 60000, 1000)
125125
getLogger().debug(`Tracking changes for a processing status wait is over`)
126-
this.pollingSet.start(this.arn)
126+
this.pollingSet.add(this.arn)
127127
getLogger().debug(`Tracking changes for ARN: ${this.arn}; condition: ${this.isPolling};`)
128128
} else {
129129
getLogger().debug(`ARN: ${this.arn} already being tracked`)
130130
}
131131
}
132132

133133
public trackChanges() {
134-
getLogger().debug(`Preparing to track immdiately for ARN: ${this.arn}; condition: ${this.isPolling};`)
134+
getLogger().debug(`Preparing to track immediately for ARN: ${this.arn}; condition: ${this.isPolling};`)
135135
if (!this.isPolling) {
136136
this.isPolling = true
137-
this.pollingSet.start(this.arn)
137+
this.pollingSet.add(this.arn)
138138
getLogger().debug(`Tracking changes for ARN: ${this.arn}; condition: ${this.isPolling};`)
139139
} else {
140140
getLogger().debug(`ARN: ${this.arn} already being tracked`)

0 commit comments

Comments
 (0)