Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/gresrun/jesque
Browse files Browse the repository at this point in the history
  • Loading branch information
gresrun committed Nov 18, 2013
2 parents 0cf4a4e + 1c6c1b2 commit 77df250
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,8 @@ private boolean isWorkerInState(final String workerName, final WorkerInfo.State
if (statusPayload != null) {
final WorkerStatus status = ObjectMapperFactory.get().readValue(statusPayload, WorkerStatus.class);
proceed = !status.isPaused();
} else {
proceed = false;
}
break;
default:
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/net/greghaines/jesque/worker/WorkerImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,9 @@ public WorkerImpl(final Config config, final Collection<String> queues,
this.namespace = config.getNamespace();
this.jedis = new Jedis(config.getHost(), config.getPort(), config.getTimeout());
authenticateAndSelectDB();
this.name = createName();
setQueues(queues);
setJobTypes(jobTypes);
this.name = createName();
}

/**
Expand Down

0 comments on commit 77df250

Please sign in to comment.