mc

Results 13 comments of mc

Dear all: May I ask if the problem has been solved?

我感觉可以通过消息主动推送的方式,类似拼多的xx已购买

感谢您的回复,期待你的更新! 还需要请叫你一个问题,我在网上找了很多检测代理IP可用性的文章,试了几个,如直接用代理IP去请求百度网站,看能不能连接成功,不过这样有一个问题,就是检测会花费大量无用的时间,对于检测代理IP是否可用?能给点建议吗?

非常感谢你的帮助,现在我已经将项目部署到服务中,程序也能正常运行,不过我只要关闭ssh会话,启动的本项目就被关闭,怎么能让项目一直运行呢?

我现在用的启动命令是nohup python3 -u run.py > adsl.log 2>&1 &

I am using version 17.1. I have checked the fix of recent versions, but I can't see the code adjustment of the corresponding module. Do you think the new version...

![image](https://user-images.githubusercontent.com/16506338/192245745-a3c3017b-8bdf-491a-a89b-51c4ca576b99.png) private List poll() throws ExecutionException, InterruptedException, TimeoutException { String realKey = CacheUtil.getCommonKey(RedisCacheKeys.CALLBACK_CACHE_LIST_NEW_KEY); RBlockingQueue queue = redissonClient.getBlockingQueue(realKey); List callbackDTOS = new ArrayList(callbackProperties.getPollLimit()); RFuture future = queue.drainToAsync(callbackDTOS, callbackProperties.getPollLimit()); future.get(500, TimeUnit.MILLISECONDS); return...

![image](https://user-images.githubusercontent.com/16506338/192246414-d19e00ad-65d4-4abf-ba83-7482e022e12e.png) If this script has a query bottleneck, another thread that monitors the size should not query the data

![image](https://user-images.githubusercontent.com/16506338/192247165-9a2cfc12-950f-4ac4-bec5-cc815e1eb28e.png) Monitor thread print information

针对第一个问题,你可以通过父子任务方式验证一下,注意不能选择分片广播模式 第二个问题:xxl-job目前不支持,你可以利用分片关播,在执行器上自行去处理,比如将任务发到mq或者redis,定期取30个作业