与master分支同步

This commit is contained in:
Lawrence 2021-01-11 21:01:59 +08:00
parent 45bc2f60f2
commit 809d650893
2 changed files with 3 additions and 2 deletions

View File

@ -121,7 +121,9 @@ public class SipLayer implements SipListener {
logger.debug(evt.getRequest().toString()); logger.debug(evt.getRequest().toString());
// 由于jainsip是单线程程序为提高性能并发处理 // 由于jainsip是单线程程序为提高性能并发处理
processThreadPool.execute(() -> { processThreadPool.execute(() -> {
if (processorFactory != null) {
processorFactory.createRequestProcessor(evt).process(); processorFactory.createRequestProcessor(evt).process();
}
}); });
} }

View File

@ -66,5 +66,4 @@ public interface DeviceMapper {
@Delete("DELETE FROM device WHERE deviceId=#{deviceId}") @Delete("DELETE FROM device WHERE deviceId=#{deviceId}")
int del(String deviceId); int del(String deviceId);
} }