minor changes
This commit is contained in:
15
bstd.php
Normal file
15
bstd.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
require __DIR__ . '/vendor/autoload.php';
|
||||
|
||||
use Pheanstalk\Connection;
|
||||
use Pheanstalk\Pheanstalk;
|
||||
use Pheanstalk\SocketFactory;
|
||||
|
||||
//$socket = new SocketFactory('unix://' . getcwd() . '/bstd_data/wpcrm_bstd_service.sock', -1, 10, 3);
|
||||
//$connection = new Connection($socket);
|
||||
//$pheanstalk = new Pheanstalk($connection);
|
||||
|
||||
$pheanstalk = Pheanstalk::create('127.0.0.1', 11300);
|
||||
|
||||
return $pheanstalk;
|
||||
|
||||
Reference in New Issue
Block a user