v
This commit is contained in:
		| @@ -115,7 +115,10 @@ namespace AZ.Compute.Agent | ||||
|                 foreach (Job job in jobs) | ||||
|                 { | ||||
|                     if (!job.Finished) | ||||
|                     { | ||||
|                         job.Start = job.Start; | ||||
|                         job.Ram = (float)(job.Process.PeakWorkingSet64 / 1048576.0); | ||||
|                     } | ||||
|                 } | ||||
|             } | ||||
|             catch (Exception ex) | ||||
|   | ||||
| @@ -51,6 +51,8 @@ async function addAgent() { | ||||
| const FORMAT_CONNECTION_STATUS = (x) => ["Offline", "Connecting...", "Online"][x]; | ||||
|  | ||||
| const FORMAT_TIME = (x) => { | ||||
|     x = x / 1000; | ||||
|  | ||||
|     var hours = Math.floor(x / 3600); | ||||
|     var minutes = Math.floor((x - (hours * 3600)) / 60); | ||||
|     var seconds = x - (hours * 3600) - (minutes * 60); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user