diff options
author | mguetlein <martin.guetlein@gmail.com> | 2011-05-12 10:20:48 +0200 |
---|---|---|
committer | mguetlein <martin.guetlein@gmail.com> | 2011-05-12 10:20:48 +0200 |
commit | a730ae5a2a34ece618ae7b66c50b0d5aca7c9120 (patch) | |
tree | dac06c3e9bce07d4487011e0a9e91b93217e6ba8 | |
parent | 221eee5338ea7512bc87ab1209bcf1b955325ec6 (diff) |
fix report to html conversion timeout
-rw-r--r-- | report/report_service.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/report/report_service.rb b/report/report_service.rb index 91eefe8..722c3d6 100644 --- a/report/report_service.rb +++ b/report/report_service.rb @@ -83,6 +83,9 @@ module Reports LOGGER.debug "report persisted with id: '"+id.to_s+"'" task.progress(100) if task + #HACK - format to html right after creation, as dynamically create html may cause deadlocks + get_report(type, id, "text/html") + return get_uri(type, id) end |