Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Prevent endless loop if request extracting takes more than 30 seconds
  • Loading branch information
woehrl01 committed Sep 11, 2015
1 parent 420956e commit 3d9e330
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -1064,8 +1064,8 @@ protected void updateExtractRequestStatus(ISqlTransaction transaction, long extr
* in the background.
*/
public void execute(NodeCommunication nodeCommunication, RemoteNodeStatus status) {
long ts = System.currentTimeMillis();
List<ExtractRequest> requests = getExtractRequestsForNode(nodeCommunication.getNodeId());
long ts = System.currentTimeMillis();
/*
* Process extract requests until it has taken longer than 30 seconds, and then
* allow the process to return so progress status can be seen.
Expand Down

0 comments on commit 3d9e330

Please sign in to comment.