From 41f2096a7dd80ac096d32e6c6dfe4d55a27c4053 Mon Sep 17 00:00:00 2001 From: Kyle Drake Date: Sat, 14 Mar 2015 12:37:48 -0500 Subject: [PATCH] tweak global activity limits --- models/event.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models/event.rb b/models/event.rb index 81c923b2..4c3d3a6e 100644 --- a/models/event.rb +++ b/models/event.rb @@ -12,8 +12,8 @@ class Event < Sequel::Model many_to_one :site many_to_one :actioning_site, key: :actioning_site_id, class: :Site - DEFAULT_GLOBAL_LIMIT = 200 - GLOBAL_VIEWS_MINIMUM = 500 + DEFAULT_GLOBAL_LIMIT = 300 + GLOBAL_VIEWS_MINIMUM = 50 def self.global_dataset(current_page=1, limit=DEFAULT_GLOBAL_LIMIT) select_all(:events).