From 9e36b7f8e1abf4b815a9eabad6f72783a57cbc49 Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Sat, 20 Jul 2019 11:25:02 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E5=BE=AE=E8=B0=83=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1=E8=BE=93=E5=87=BA=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bootstrap.Admin/Controllers/Api/TasksLogController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bootstrap.Admin/Controllers/Api/TasksLogController.cs b/Bootstrap.Admin/Controllers/Api/TasksLogController.cs index cb4f90cb..5903f92f 100644 --- a/Bootstrap.Admin/Controllers/Api/TasksLogController.cs +++ b/Bootstrap.Admin/Controllers/Api/TasksLogController.cs @@ -31,7 +31,7 @@ namespace Bootstrap.Admin.Controllers.Api private void SendTaskLog(IScheduler sche, string name, IHubContext hub) { var t = sche.Triggers.First(); - var result = $"{{\"name\": \"{name}\", \"msg\": \"{sche.LastRuntime}: Trigger({t.GetType().Name}) Run({t.LastResult}) NextRuntime: {sche.NextRuntime} Elapsed: {t.LastRunElapsedTime.Seconds}s\"}}"; + var result = $"{{\"name\": \"{name}\", \"msg\": \"Trigger({t.GetType().Name}) LastRuntime: {sche.LastRuntime} Run({t.LastResult}) NextRuntime: {sche.NextRuntime} Elapsed: {t.LastRunElapsedTime.Seconds}s\"}}"; SignalRManager.SendTaskLog(hub.Clients.All, result).ConfigureAwait(false); } }