From cassandra-user-return-926-apmail-incubator-cassandra-user-archive=incubator.apache.org@incubator.apache.org Thu Oct 15 16:01:42 2009 Return-Path: Delivered-To: apmail-incubator-cassandra-user-archive@minotaur.apache.org Received: (qmail 51328 invoked from network); 15 Oct 2009 16:01:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Oct 2009 16:01:42 -0000 Received: (qmail 75784 invoked by uid 500); 15 Oct 2009 16:01:41 -0000 Delivered-To: apmail-incubator-cassandra-user-archive@incubator.apache.org Received: (qmail 75751 invoked by uid 500); 15 Oct 2009 16:01:41 -0000 Mailing-List: contact cassandra-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cassandra-user@incubator.apache.org Delivered-To: mailing list cassandra-user@incubator.apache.org Received: (qmail 75742 invoked by uid 99); 15 Oct 2009 16:01:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Oct 2009 16:01:41 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jbellis@gmail.com designates 216.239.58.191 as permitted sender) Received: from [216.239.58.191] (HELO gv-out-0910.google.com) (216.239.58.191) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Oct 2009 16:01:33 +0000 Received: by gv-out-0910.google.com with SMTP id c6so146366gvd.17 for ; Thu, 15 Oct 2009 09:01:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=L6TNigzczoupDPw5A2fTy5faRk5WDPBlfWnci4bC/80=; b=OYNtm5uANwkeUplXsNWRRtEsTuJ5GySrI4VD7y1dgFfzl7pnWrO9Tm+nNUBcqXL2AW NNpisrcqj28ya/1omAikeGFXkOC7yvEPas7lP/FvttqS+JhCMV6YU5Y6bwvNbBOWjJDD A2PH4NB08O+BdJn1bFVDHAOh00/jO+KJyYKg4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=GrPCOH//hBNxXXmTTgacmDL2/ZY+VT2UpvgpcYp4lj/89Uzst3cDNU/NgtsPaKZCzl uYPybi5CIBMOh2uPv2rZMDHO2p1H61iSpJ5Wjde2zLLKfJacrCYYlkDhUhwYmxgsLliH 7PSj8xcPmkIFJyDOlPpbNr/RjCV5b3ZzC9kfI= MIME-Version: 1.0 Received: by 10.216.87.133 with SMTP id y5mr58069wee.139.1255622473324; Thu, 15 Oct 2009 09:01:13 -0700 (PDT) In-Reply-To: References: <91882eb0910150826w16dc4e08g62ec1d279b458255@mail.gmail.com> <08976DB1-1089-402E-998F-9BC65ACCBD7C@gmail.com> From: Jonathan Ellis Date: Thu, 15 Oct 2009 11:00:53 -0500 Message-ID: Subject: Re: Thrift Perl API Timeout Issues To: cassandra-user@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Thu, Oct 15, 2009 at 10:51 AM, Simon Smith wrote= : > While on the topic, I'm using the python Thrift interface - if I > wanted to, how would I change the timeout? I currently do: > > =A0socket =3D TSocket.TSocket(host,port) > > If I wanted to change the timeout would I do something like: > > socket.setTimeout(timeout) Yes, with timeout in ms. (The default appears to be "never timeout.") -Jonathan