I am using Pheanstalk, and I want to create a new tube on an existing queue, so I wrote the following code:
$this->pheanstalk = new Pheanstalk(127.0.0.1);
$this->pheanstalk->useTube('api')->put($json_info, 0,0,1); //json_info is data that i need to put in a tube as json encoded
But when I run the following command to check the tube:
$ telnet localhost 11300
list-tubes
This is what I always get:
OK 14
- default
Why isn't the 'api' tube being created? Is there something I should do to see the 'api' tube in the list?
管子是从工人的侧面创建的,使用手表功能
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.