Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
S
solarium
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
common
solarium
Commits
652e0c1d
Commit
652e0c1d
authored
Jan 13, 2012
by
Bas de Nooijer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adjusted unittest coverage
parent
dd7f5d00
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
library/Solarium/Plugin/ParallelExecution.php
library/Solarium/Plugin/ParallelExecution.php
+4
-3
No files found.
library/Solarium/Plugin/ParallelExecution.php
View file @
652e0c1d
...
@@ -47,6 +47,8 @@
...
@@ -47,6 +47,8 @@
* @package Solarium
* @package Solarium
* @subpackage Plugin
* @subpackage Plugin
*/
*/
// @codeCoverageIgnoreStart
class
Solarium_Plugin_ParallelExecution
extends
Solarium_Plugin_Abstract
class
Solarium_Plugin_ParallelExecution
extends
Solarium_Plugin_Abstract
{
{
...
@@ -61,7 +63,6 @@ class Solarium_Plugin_ParallelExecution extends Solarium_Plugin_Abstract
...
@@ -61,7 +63,6 @@ class Solarium_Plugin_ParallelExecution extends Solarium_Plugin_Abstract
*/
*/
public
function
execute
(
$queries
)
public
function
execute
(
$queries
)
{
{
// @codeCoverageIgnoreStart
$adapter
=
$this
->
_client
->
setAdapter
(
'Solarium_Client_Adapter_Curl'
)
->
getAdapter
();
$adapter
=
$this
->
_client
->
setAdapter
(
'Solarium_Client_Adapter_Curl'
)
->
getAdapter
();
// create handles and add all handles to the multihandle
// create handles and add all handles to the multihandle
...
@@ -96,7 +97,7 @@ class Solarium_Plugin_ParallelExecution extends Solarium_Plugin_Abstract
...
@@ -96,7 +97,7 @@ class Solarium_Plugin_ParallelExecution extends Solarium_Plugin_Abstract
curl_multi_close
(
$multiHandle
);
curl_multi_close
(
$multiHandle
);
return
$results
;
return
$results
;
// @codeCoverageIgnoreEnd
}
}
}
}
\ No newline at end of file
// @codeCoverageIgnoreEnd
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment