mirror of
https://github.com/LamGC/ContentGrabbingJi.git
synced 2025-04-30 06:37:36 +00:00
[Change] RandomIntervalSendTimer 将随机间隔发送器的Timer设为daemon thread;
This commit is contained in:
parent
ef70ac77cb
commit
eb2de09859
@ -13,7 +13,7 @@ import java.util.concurrent.atomic.AtomicBoolean;
|
||||
*/
|
||||
public class RandomIntervalSendTimer extends TimerTask {
|
||||
|
||||
private final static Timer timer = new Timer("Thread-RIST");
|
||||
private final static Timer timer = new Timer("Thread-RIST", true);
|
||||
private final static Logger log = LoggerFactory.getLogger(RandomIntervalSendTimer.class.getName());
|
||||
private final static Map<Long, RandomIntervalSendTimer> timerMap = new HashMap<>();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user