diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2021-03-11 01:37:01 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2021-03-11 01:37:04 +0300 |
commit | 517160645d75e5e7c94a99087630b9c3fc0c3823 (patch) | |
tree | 6977c3a6407b8813d1c6675a6ff283a7bbfde33a /example/example.php | |
parent | 7ba383cc56e937a03ef8142964028b3a29863356 (diff) |
delete examples dir
Diffstat (limited to 'example/example.php')
-rw-r--r-- | example/example.php | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/example/example.php b/example/example.php deleted file mode 100644 index 8251705..0000000 --- a/example/example.php +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -require_once 'vendor/autoload.php'; - -ini_set('display_errors', 1); -error_reporting(E_ALL); - -try { - // connecting to jobd - $client = new jobd\Client(jobd\Client::MASTER_PORT); - - // asking master to ask workers responsible for server1 to poll new jobs - $resp = $client->poke(['server1']); - var_dump($resp); -} catch (Exception $e) { - die("error: ".$e->getMessage()); -} - -// closing connection -$client->close(); |