aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--web/viewsjs/index.js.erb6
1 files changed, 3 insertions, 3 deletions
diff --git a/web/viewsjs/index.js.erb b/web/viewsjs/index.js.erb
index 29bd4fb..28ab272 100644
--- a/web/viewsjs/index.js.erb
+++ b/web/viewsjs/index.js.erb
@@ -1,9 +1,9 @@
<%
# This is the maximum number of tags in the tag cloud. Javascript code will only show
# as many of them as will fit in the window.
-tagcloud_number_of_keys = 200
-tagcloud_number_of_tags = 40
-tagcloud_number_of_relations = 40
+tagcloud_number_of_keys = 300
+tagcloud_number_of_tags = 30
+tagcloud_number_of_relations = 30
keys = @db.select("SELECT key, scale1 FROM popular_keys ORDER BY scale1 DESC LIMIT #{ tagcloud_number_of_keys }").
execute().
each_with_index{ |tag, idx| tag['pos'] = (tagcloud_number_of_keys - idx) / tagcloud_number_of_keys.to_f }