Skip to content

Commit

Permalink
Getting rid of an explicit ejb bean method for updating the export ti…
Browse files Browse the repository at this point in the history
…me stamp. (#8488)
  • Loading branch information
landreev committed Jul 19, 2022
1 parent 9a1a232 commit bb55a66
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ public boolean onSuccess(CommandContext ctxt, Object r) {
try {
ExportService instance = ExportService.getInstance();
instance.exportAllFormats(dataset);
ctxt.datasets().updateLastExportTimeStamp(dataset.getId());
dataset = ctxt.datasets().merge(dataset);
} catch (Exception ex) {
// Something went wrong!
// Just like with indexing, a failure to export is not a fatal
Expand Down

0 comments on commit bb55a66

Please sign in to comment.