Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'master' of heroku.com:koders

  • Loading branch information...
commit 6f978873ef27bc23852c669b1272f17c31816ca4 2 parents 9de8c8b + 4a555cc
@treeder treeder authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 web.rb
View
8 web.rb
@@ -28,7 +28,8 @@
@user_id_list = JSON.parse(user_list_item.value)
@total_users = @user_id_list.length
@user_list = []
- limit = 10
+ limit = 20
+
@user_id_list.each_with_index do |user_id, i|
item = settings.cache.get(user_id.to_s)
user = JSON.parse(item.value)
@@ -41,9 +42,8 @@
end
user['total_bytes'] = total_bytes
@user_list << OpenStruct.new(user)
- if i >= 10
- break
- end
+
+ break if i >= limit
end
@all_langs.each_pair do |lang, v|
Please sign in to comment.
Something went wrong with that request. Please try again.