Commit 4391c5d8 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

cache data for project on upload

parent 5e23213f
......@@ -918,15 +918,13 @@ public class ProjectService implements IProjectService {
}
});
logger.warn("Cache of chemicals data is disabled");
// chemicalService.cacheDataForModel(originalModel, new IProgressUpdater() {
// @Override
// public void setProgress(double progress) {
// updateProjectStatus(originalModel.getProject(),
// ProjectStatus.CACHING_CHEMICAL, progress, params);
// }
// });
chemicalService.cacheDataForModel(originalModel, new IProgressUpdater() {
@Override
public void setProgress(double progress) {
updateProjectStatus(originalModel.getProject(),
ProjectStatus.CACHING_CHEMICAL, progress, params);
}
});
drugService.cacheDataForModel(originalModel, new IProgressUpdater() {
@Override
......
Markdown is supported
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