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