Skip to content

Commit 12f97a2

Browse files
committed
cleanup cycle needs to be persisted to allMap, since that's where it's read from in other places. this stuff needs some cleanup...
changing logging message to reflect reality (gets displayed on a grid status page)
1 parent 047487f commit 12f97a2

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

java/server/src/org/openqa/grid/internal/utils/GridHubConfiguration.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,7 @@ public void setPort(int port) {
398398

399399
public void setCleanupCycle(int cleanupCycle) {
400400
this.cleanupCycle = cleanupCycle;
401+
put(RegistrationRequest.CLEAN_UP_CYCLE, cleanupCycle);
401402
}
402403

403404
public void setTimeout(int timeout) {

java/server/src/org/openqa/grid/selenium/proxy/DefaultRemoteProxy.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,12 +88,12 @@ public void beforeRelease(TestSession session) {
8888

8989

9090
public void afterCommand(TestSession session, HttpServletRequest request, HttpServletResponse response) {
91-
session.put("lastCommand", request.getMethod() + " - " + request.getPathInfo() + " executing ...");
91+
session.put("lastCommand", request.getMethod() + " - " + request.getPathInfo() + " executed.");
9292
}
9393

9494

9595
public void beforeCommand(TestSession session, HttpServletRequest request, HttpServletResponse response) {
96-
session.put("lastCommand", request.getMethod() + " - " + request.getPathInfo() + " executed.");
96+
session.put("lastCommand", request.getMethod() + " - " + request.getPathInfo() + " executing ...");
9797
}
9898

9999
private final HtmlRenderer renderer = new WebProxyHtmlRenderer(this);

0 commit comments

Comments
 (0)