SCF usually 20M memery
parent
ebaf8bd433
commit
b20d1c6f0a
|
@ -50,7 +50,6 @@ function GetPathSetting($event, $context)
|
||||||
return $path;
|
return $path;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function getConfig($str)
|
function getConfig($str)
|
||||||
{
|
{
|
||||||
return getenv($str);
|
return getenv($str);
|
||||||
|
@ -354,8 +353,8 @@ function SetbaseConfig($function_name, $Region, $Namespace, $SecretId, $SecretKe
|
||||||
$host = 'scf.tencentcloudapi.com';
|
$host = 'scf.tencentcloudapi.com';
|
||||||
$tmpdata['Action'] = 'UpdateFunctionConfiguration';
|
$tmpdata['Action'] = 'UpdateFunctionConfiguration';
|
||||||
$tmpdata['FunctionName'] = $function_name;
|
$tmpdata['FunctionName'] = $function_name;
|
||||||
$tmpdata['Description'] = 'Onedrive index in SCF. SCF上的Onedrive目录网站程序。';
|
$tmpdata['Description'] = 'Onedrive index & manager in SCF.';
|
||||||
$tmpdata['MemorySize'] = 128;
|
$tmpdata['MemorySize'] = 64;
|
||||||
$tmpdata['Timeout'] = 30;
|
$tmpdata['Timeout'] = 30;
|
||||||
$tmpdata['Namespace'] = $Namespace;
|
$tmpdata['Namespace'] = $Namespace;
|
||||||
$tmpdata['Nonce'] = time();
|
$tmpdata['Nonce'] = time();
|
||||||
|
|
Loading…
Reference in New Issue