用AsyncTcpConnection 當(dāng)客戶端每隔2秒主動(dòng)向服務(wù)端發(fā)送數(shù)據(jù) 服務(wù)端每次都是十幾秒才能接收到數(shù)據(jù)。這是為啥。。發(fā)送的數(shù)據(jù)也不大,但是服務(wù)端就是每隔十幾秒接收到,而且有時(shí)候接收的數(shù)據(jù)不完整。。。...
問題描述 請(qǐng)教大佬們,crontab動(dòng)態(tài)操作更好的方法 我現(xiàn)在是基于Timer實(shí)現(xiàn)的,不知道各位有啥好的方法推薦 下面是我的代碼 <?php namespace app\process; use app\admin\logic\system\SystemCrontabLogic; use Workerman\Crontab\Crontab; use Workerman\Timer; class Task { ...