[Transform] add actual timeout in message (#50140)
add the timeout to the message if stopping a transform times out
This commit is contained in:
parent
efa6ef3c06
commit
1c3ce110bd
|
@ -397,7 +397,9 @@ public class TransportStopTransformAction extends TransportTasksAction<Transform
|
|||
if (stillRunningTasks.size() > 0) {
|
||||
message.append("Could not stop the transforms ");
|
||||
message.append(stillRunningTasks);
|
||||
message.append(" as they timed out.");
|
||||
message.append(" as they timed out [");
|
||||
message.append(timeout.toString());
|
||||
message.append("].");
|
||||
}
|
||||
|
||||
listener.onFailure(new ElasticsearchStatusException(message.toString(), RestStatus.REQUEST_TIMEOUT));
|
||||
|
|
Loading…
Reference in New Issue