summaryrefslogtreecommitdiffstats
path: root/gearman
diff options
context:
space:
mode:
authorBjörn Geiger2011-07-13 13:03:28 +0200
committerBjörn Geiger2011-07-13 13:03:28 +0200
commitafd478c180066f1d34044227dff6793895181741 (patch)
tree973642edb606f87a9ab1fb7b68bce2efc80387b2 /gearman
parentminor (diff)
downloadpoolctrl-afd478c180066f1d34044227dff6793895181741.tar.gz
poolctrl-afd478c180066f1d34044227dff6793895181741.tar.xz
poolctrl-afd478c180066f1d34044227dff6793895181741.zip
minor
Diffstat (limited to 'gearman')
-rw-r--r--gearman/bootWorker.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/gearman/bootWorker.php b/gearman/bootWorker.php
index 352e679..7e85054 100644
--- a/gearman/bootWorker.php
+++ b/gearman/bootWorker.php
@@ -5,7 +5,8 @@ function bootTask(GearmanJob $job) {
$client= new GearmanClient();
$client->addServer();
- $ipArray = job.data.strip();
+ $ipString = job.data.strip();
+ $ipArray = explode(', ', $ipString);
if(is_array($ipArray)) {
foreach($ipArray as $ip) {