fix
This commit is contained in:
parent
8acce1c5e2
commit
dd8ee44d65
@ -93,13 +93,9 @@ public class PushService {
|
|||||||
try {
|
try {
|
||||||
udpSocket = new DatagramSocket();
|
udpSocket = new DatagramSocket();
|
||||||
|
|
||||||
Receiver receiver;
|
Receiver receiver = new Receiver();
|
||||||
|
|
||||||
Thread inThread;
|
Thread inThread = new Thread(receiver);
|
||||||
|
|
||||||
receiver = new Receiver();
|
|
||||||
|
|
||||||
inThread = new Thread(receiver);
|
|
||||||
inThread.setDaemon(true);
|
inThread.setDaemon(true);
|
||||||
inThread.setName("com.alibaba.nacos.naming.push.receiver");
|
inThread.setName("com.alibaba.nacos.naming.push.receiver");
|
||||||
inThread.start();
|
inThread.start();
|
||||||
|
Loading…
Reference in New Issue
Block a user