Skip to content

Commit 2d2efd1

Browse files
committed
fix: scf check status interval
1 parent 384d276 commit 2d2efd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/baas/scf/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ class Scf {
167167
while ((status == 'Updating' || status == 'Creating') && times > 0) {
168168
const tempFunc = await this.getFunction(namespace, functionName);
169169
status = tempFunc.Status;
170-
await this.sleep(51);
170+
await this.sleep(300);
171171
times = times - 1;
172172
}
173173
return status != 'Active' ? false : true;

0 commit comments

Comments
 (0)