]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Fix for `arc install-certificate` timeout.
authorMarke Hallowell <indiefan@gmail.com>
Sun, 15 Jan 2012 03:55:20 +0000 (19:55 -0800)
committerepriestley <git@epriestley.com>
Sun, 15 Jan 2012 18:11:52 +0000 (10:11 -0800)
Summary:
Extended the install-certificate workflow's timeout from 5
seconds to rely on the ConduitClient default (30 seconds), which matches the HTTP interface.

Test Plan: Run arc install-certificate

Reviewers: epriestley

CC: epriestley, aran
Differential Revision: https://secure.phabricator.com/D1404

src/workflow/install-certificate/ArcanistInstallCertificateWorkflow.php

index 14c4128e93f5d1c4b444f9c6fa2beaf17591f44a..fa307f6032f2b4c62f4a52c7cb2e815e2df2b2fe 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
 /*
- * Copyright 2011 Facebook, Inc.
+ * Copyright 2012 Facebook, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -65,7 +65,6 @@ EOTEXT
 
     echo "Trying to connect to server...\n";
     $conduit = new ConduitClient($uri);
-    $conduit->setTimeout(5);
     try {
       $conduit->callMethodSynchronous('conduit.ping', array());
     } catch (Exception $ex) {