Skip to content
Snippets Groups Projects
Commit 7923b47b authored by Mirco Nasuti's avatar Mirco Nasuti
Browse files

bugfix

parent 16133a50
No related branches found
No related tags found
No related merge requests found
......@@ -286,12 +286,11 @@ public class ExperimentApi {
private void sendExperiment(Experiment experiment) throws MalformedURLException {
// this runs in the background. For future optimization: use a thread pool
final String url = experimentUrl;
final String query = experiment.computeQuery();
new Thread() {
@Override
public void run() {
String url = experimentUrl;
String query = experiment.computeQuery();
// Results are stored in the experiment object
try {
executeExperiment(url, query, experiment);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment