Permalink
Browse files

will only post when it needs to now

  • Loading branch information...
1 parent d82bff8 commit 4a29127511bb442f8c91a6b28fd9f21f7eaf5f07 Jordan Glasner committed Apr 6, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/nimble_nodes/report.rb
@@ -16,7 +16,7 @@ def post
# returns true if report needs to be posted to server
def post?
- return true
+ # return true
dynos_maxed_out? or queue_depth_too_long? or queue_depth_too_short? or idle_dynos?
end

1 comment on commit 4a29127

samoli commented on 4a29127 Aug 2, 2010

Will this still do a post for every request if you're running on max available dynos? (dynos_maxed_out?)

Please sign in to comment.