diff --git a/function/scf.php b/function/scf.php
index e25568d..8cfdbe4 100644
--- a/function/scf.php
+++ b/function/scf.php
@@ -411,6 +411,9 @@ namespace:' . $namespace . '
';
$title = 'Error';
} else {
+ $trynum = 0;
+ while( json_decode(getfunctioninfo($function_name, $_SERVER['Region'], $_SERVER['namespace'], getConfig('SecretId'), getConfig('SecretKey')),true)['Response']['Status']!='Active' ) echo '
+'.++$trynum;
$html .= getconstStr('UpdateSuccess') . '
';
$title = getconstStr('Setup');