aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/tasks/stats.rake5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/tasks/stats.rake b/lib/tasks/stats.rake
index 2a02b1716..4eda27289 100644
--- a/lib/tasks/stats.rake
+++ b/lib/tasks/stats.rake
@@ -111,7 +111,10 @@ namespace :stats do
end
end
public_body.info_requests_overdue_count = overdue_count + very_overdue_count
- public_body.save!
+ public_body.no_xapian_reindex = true
+ public_body.without_revision do
+ public_body.save!
+ end
end
end
end