Fail and retry logic for TSocketPool
authorDavid Reiss <dreiss@apache.org>
Thu, 28 Feb 2008 21:20:12 +0000 (21:20 +0000)
committerDavid Reiss <dreiss@apache.org>
Thu, 28 Feb 2008 21:20:12 +0000 (21:20 +0000)
commit6d0cccd64000ae35ce1e648020f852ba333a5ba2
tree2f72e1d4a8b2b9c7e1101133bbaeacdace3ec630
parent9163073ca120478733602d42e344f14c241ad2d1
Fail and retry logic for TSocketPool

Summary: Replicating php logic: If opening fails enough times, mark server as down for some amount of time

Reviewed By: aditya

Test Plan: compiling thrift - any good test ideas?

Revert: OK

DiffCamp Revision: 8381

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665534 13f79535-47bb-0310-9956-ffa450edef68
lib/cpp/src/transport/TSocketPool.cpp
lib/cpp/src/transport/TSocketPool.h