Skip to content

Commit

Permalink
fast timeout and quick return for control alt
Browse files Browse the repository at this point in the history
  • Loading branch information
zackkitzmiller committed Feb 11, 2013
1 parent b1b9e1f commit ceeee1f
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.DS_Store
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "seatgeek/sixpack-php",
"description": "Stuff.",
"description": "Sixpack A/B testing framework client",
"keywords": ["api"],
"authors": [
{
Expand Down
1 change: 1 addition & 0 deletions src/Seatgeek/Sixpack.php
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ private function sendRequest($endpoint = '')
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 0.25);

$return = curl_exec($ch);
$meta = curl_getinfo($ch);
Expand Down
1 change: 0 additions & 1 deletion src/Seatgeek/Sixpack/ParticipationResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ public function getExperiment()
return $this->response->experiment;
}

// TODO, uhh. This isn't quite right.
public function getAlternative()
{
if (!$this->getSuccess()) {
Expand Down

0 comments on commit ceeee1f

Please sign in to comment.