projects
/
m6w6
/
seekat
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
refactor
[m6w6/seekat]
/
examples
/
hooks.php
diff --git
a/examples/hooks.php
b/examples/hooks.php
index ad236925ffbcde60278c96dce3eed549e7b9e06f..37cb8e0ed2f895f9e58d3d4dbcf6b6f11ea4d0de 100755
(executable)
--- a/
examples/hooks.php
+++ b/
examples/hooks.php
@@
-9,6
+9,7
@@
$cli = new http\Client("curl", "seekat");
$cli->configure([
"max_host_connections" => 10,
"max_total_connections" => 50,
$cli->configure([
"max_host_connections" => 10,
"max_total_connections" => 50,
+ "use_eventloop" => false,
]);
$log = new Monolog\Logger("seekat");
]);
$log = new Monolog\Logger("seekat");
@@
-24,7
+25,7
@@
$api(function() use($api) {
"affiliation" => "owner"
]);
while ($repos) {
"affiliation" => "owner"
]);
while ($repos) {
- $next =
$repos->next(
);
+ $next =
next($repos
);
$batch = [];
foreach ($repos as $repo) {
$batch = [];
foreach ($repos as $repo) {