From 8fde5bed3dd9700977584a9ea183f807c6c502fa Mon Sep 17 00:00:00 2001 From: "xueli.xue" Date: Mon, 19 Sep 2016 16:25:47 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E5=BA=A6=E8=B6=85=E6=97=B6=E5=92=8CHa?= =?UTF-8?q?ndler=E5=8C=B9=E9=85=8D=E4=B8=8D=E5=88=B0=E6=97=B6,=E8=B0=83?= =?UTF-8?q?=E5=BA=A6=E7=8A=B6=E6=80=81=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/xxl/job/core/router/HandlerRouter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xxl-job-core/src/main/java/com/xxl/job/core/router/HandlerRouter.java b/xxl-job-core/src/main/java/com/xxl/job/core/router/HandlerRouter.java index e69305ce..fcc9e449 100644 --- a/xxl-job-core/src/main/java/com/xxl/job/core/router/HandlerRouter.java +++ b/xxl-job-core/src/main/java/com/xxl/job/core/router/HandlerRouter.java @@ -85,13 +85,13 @@ public class HandlerRouter { // timestamp check if (System.currentTimeMillis() - requestModel.getTimestamp() > 60000) { - return new ResponseModel(ResponseModel.SUCCESS, "Timestamp Timeout."); + return new ResponseModel(ResponseModel.FAIL, "Timestamp Timeout."); } // match action IAction action = ActionRepository.matchAction(requestModel.getAction()); if (action == null) { - return new ResponseModel(ResponseModel.SUCCESS, "Action match fail."); + return new ResponseModel(ResponseModel.FAIL, "Action match fail."); } return action.execute(requestModel);