009 vcpu bugfix

This commit is contained in:
msyu
2025-08-20 10:23:11 +03:00
parent 41134af58b
commit 34aba7e797
3 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -5,7 +5,7 @@
<!--- Set up the application. ---> <!--- Set up the application. --->
<cfset this.Name = "DWH" /> <cfset this.Name = "PAYG" />
<cfset this.applicationTimeout = createTimeSpan( 0, 0, 3, 0 ) /> <cfset this.applicationTimeout = createTimeSpan( 0, 0, 3, 0 ) />
<cfset this.sessionmanagement="Yes"/> <cfset this.sessionmanagement="Yes"/>
<cfset this.clientmanagement="No"/> <cfset this.clientmanagement="No"/>
@@ -99,7 +99,7 @@
<cfset request.RECORDS_PER_PAGE=500/> <cfset request.RECORDS_PER_PAGE=500/>
<cfset request.APP_VERSION="0.00.008"/> <cfset request.APP_VERSION="0.00.009"/>
<cfset request.STAND=getStand()/> <cfset request.STAND=getStand()/>
<cflock scope="application" type="readonly" timeout=3> <cflock scope="application" type="readonly" timeout=3>
+1 -1
View File
@@ -227,7 +227,7 @@ select
<!--- <cfdump var=#qS3OpsTrf#/> ---> <!--- <cfdump var=#qS3OpsTrf#/> --->
<cfquery name="qUnifiedMetric" dbType="query"> <cfquery name="qUnifiedMetric" dbType="query">
select wz, code || '.cpu-m' as code, core_h as raw_metric, core_h as metric, core_h as chargeable_metric from qComputing select wz, code || '.vcpu-m' as code, core_h as raw_metric, core_h as metric, core_h as chargeable_metric from qComputing
union all union all
select wz, code || '.ram-m' as code, gb_h as raw_metric, gb_h as metric, gb_h as chargeable_metric from qComputing select wz, code || '.ram-m' as code, gb_h as raw_metric, gb_h as metric, gb_h as chargeable_metric from qComputing
union all union all