diff options
Diffstat (limited to 'reach_reports')
-rwxr-xr-x | reach_reports/reach_application.rb | 2 | ||||
-rwxr-xr-x | reach_reports/reach_persistance.rb | 1 | ||||
-rwxr-xr-x | reach_reports/reach_service.rb | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/reach_reports/reach_application.rb b/reach_reports/reach_application.rb index 477adfb..fe40487 100755 --- a/reach_reports/reach_application.rb +++ b/reach_reports/reach_application.rb @@ -18,7 +18,7 @@ def mysql_lite_retry( n_times=15 ) end yield # try a last time end - + require 'reach_reports/reach_persistance.rb' require 'reach_reports/reach_service.rb' diff --git a/reach_reports/reach_persistance.rb b/reach_reports/reach_persistance.rb index 147ee84..1226d95 100755 --- a/reach_reports/reach_persistance.rb +++ b/reach_reports/reach_persistance.rb @@ -1210,6 +1210,7 @@ module ReachReports model.auto_upgrade! model.raise_on_save_failure = true end + end end
\ No newline at end of file diff --git a/reach_reports/reach_service.rb b/reach_reports/reach_service.rb index c93385c..fa4c0d7 100755 --- a/reach_reports/reach_service.rb +++ b/reach_reports/reach_service.rb @@ -279,6 +279,7 @@ module ReachReports end end task.progress(90) if task + mysql_lite_retry do r.save end |