From 2bfa795b29cdcd745a4248a9e29b67ea273f6607 Mon Sep 17 00:00:00 2001 From: jonnyboy Date: Sun, 6 Jan 2013 23:56:44 -0500 Subject: [PATCH] callback change --- bin/innodb/backfill_threaded.php | 2 +- bin/innodb/update_binaries_threaded.php | 2 +- bin/myisam/backfill_threaded.php | 2 +- bin/myisam/update_binaries_threaded.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/innodb/backfill_threaded.php b/bin/innodb/backfill_threaded.php index ae07733be..360b8e091 100755 --- a/bin/innodb/backfill_threaded.php +++ b/bin/innodb/backfill_threaded.php @@ -9,7 +9,7 @@ $groupList = $groups->getActive(); unset($groups); $ps = new PowerProcess; -$ps->RegisterCallback('psUpdateComplete'); +$ps->setCallback('psUpdateComplete'); $ps->maxChildren = 10; $ps->timeLimit = 0; // Disable child timeout diff --git a/bin/innodb/update_binaries_threaded.php b/bin/innodb/update_binaries_threaded.php index 21dba01ac..20cd7a8cc 100755 --- a/bin/innodb/update_binaries_threaded.php +++ b/bin/innodb/update_binaries_threaded.php @@ -10,7 +10,7 @@ $groupList = $groups->getActive(); unset($groups); $ps = new PowerProcess; -$ps->RegisterCallback('psUpdateComplete'); +$ps->setCallback('psUpdateComplete'); $ps->maxChildren = 10; $ps->timeLimit = 0; // Disable child timeout diff --git a/bin/myisam/backfill_threaded.php b/bin/myisam/backfill_threaded.php index 579d2b37f..320370358 100755 --- a/bin/myisam/backfill_threaded.php +++ b/bin/myisam/backfill_threaded.php @@ -11,7 +11,7 @@ $groupList = $groups->getActive(); unset($groups); $ps = new PowerProcess; -$ps->RegisterCallback('psUpdateComplete'); +$ps->setCallback('psUpdateComplete'); $ps->maxChildren = 10; $ps->timeLimit = 0; // Disable child timeout diff --git a/bin/myisam/update_binaries_threaded.php b/bin/myisam/update_binaries_threaded.php index 98bb6706d..cbc774972 100755 --- a/bin/myisam/update_binaries_threaded.php +++ b/bin/myisam/update_binaries_threaded.php @@ -12,7 +12,7 @@ $groupList = $groups->getActive(); unset($groups); $ps = new PowerProcess; -$ps->RegisterCallback('psUpdateComplete'); +$ps->setCallback('psUpdateComplete'); $ps->maxChildren = 10; $ps->timeLimit = 0; // Disable child timeout