Skip to content

Commit

Permalink
Correctly store completion target information per worker instead of t…
Browse files Browse the repository at this point in the history
…he task in the results
  • Loading branch information
nck-mlcnv committed Mar 18, 2024
1 parent 6128ddb commit b26ffa3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,9 @@ public void calculateAndSaveMetrics(Calendar start, Calendar end) {
m.add(workerRes, IPROP.noOfQueries, ResourceFactory.createTypedLiteral(config.queries().getQueryCount()));
m.add(workerRes, IPROP.timeOut, TimeUtils.createTypedDurationLiteral(config.timeout()));
if (config.completionTarget() instanceof HttpWorker.QueryMixes)
m.add(taskRes, IPROP.noOfQueryMixes, ResourceFactory.createTypedLiteral(((HttpWorker.QueryMixes) config.completionTarget()).number()));
m.add(workerRes, IPROP.noOfQueryMixes, ResourceFactory.createTypedLiteral(((HttpWorker.QueryMixes) config.completionTarget()).number()));
if (config.completionTarget() instanceof HttpWorker.TimeLimit)
m.add(taskRes, IPROP.timeLimit, TimeUtils.createTypedDurationLiteral(((HttpWorker.TimeLimit) config.completionTarget()).duration()));
m.add(workerRes, IPROP.timeLimit, TimeUtils.createTypedDurationLiteral(((HttpWorker.TimeLimit) config.completionTarget()).duration()));
m.add(workerRes, IPROP.connection, connectionRes);

m.add(connectionRes, RDF.type, IONT.connection);
Expand Down

0 comments on commit b26ffa3

Please sign in to comment.