commit | 8fbbbda4a6d4b9843eb741acd898346be1730bc2 | [log] [tgz] |
---|---|---|
author | Michael Bolin <mbolin@fb.com> | Wed Sep 11 10:45:36 2013 -0700 |
committer | Michael Bolin <mbolin@fb.com> | Thu Sep 19 15:25:01 2013 -0700 |
tree | 6ddaafc7bdf155f1d9570aec2168811acc442633 | |
parent | 7432b3f67186705cd46d1f028d4c5387e3c58a3a [diff] |
Be smarter about preventing Cassandra failures from being too chatty. Summary: Funnel all ConnectionExceptions through one place and print the first 10 of them. 1 seems like too few if the connection is flaky; infinity seems like too many if the user is developing offline. Test Plan: This was hard to test as jmorrow was fixing Cassandra as I was writing this, so I was seeing fewer failures over time.
Buck is an Android build tool. To see what Buck can do for you, check out the documentation at http://facebook.github.io/buck/.
To build Buck, run the following:
git clone git@github.com:facebook/buck.git cd buck ant ./bin/buck --help
Apache License 2.0