原文出处:http://issues.igniterealtime.org/browse/SMACK-325
# This patch file was generated by NetBeans IDE
# This patch can be applied using context Tools: Apply Diff Patch action on respective folder.
# It uses platform neutral UTF-8 encoding.
# Above lines and this line are ignored by the patching process.
3d2
< import java.util.Random;
24,25d22
< private Thread reconnectionThread;
< private int randomBase = new Random().nextInt(11) + 5; // between 5 and 15 seconds
68c65
< synchronized protected void reconnect() {
---
> protected void reconnect() {
70,72d66
< // avoid to run duplicated reconnectionThread -- fd: 16/09/2010
< if (reconnectionThread!=null && reconnectionThread.isAlive()) return;
<
75c69
< reconnectionThread = new Thread() {
---
> Thread reconnectionThread = new Thread() {
87d80
< // fd: 16/09/10; modified to add a random wait
89d81
< attempts++;
91c83
< return randomBase*6*5; // between 2.5 and 7.5 minutes (~5 minutes)
---
> return 60 * 5; // 5 minutes
94c86
< return randomBase*6; // between 30 and 90 seconds (~1 minute)
---
> return 60; // 1 minute
96,98c88
< return randomBase; // between 5 and 15 seconds (~10 seconds)
<
<
---
> return 10; // 10 seconds
相关推荐
一种三级重接炮的速度测量方法,周正阳,廖敏夫,重接炮是电磁发射的一种,本文介绍了重接炮的基本原理,利用MATLAB建立了一个3级重接炮的模型,模拟发射体的运动速度。发射过程中�
无碰撞磁重联中扩散区的测量方法,Seiji Zenitani, Michael Hesse, Alex Klimas, and Masha Kuznetsova, PHYSICAL REVIEW LETTERS, PRL 106, 195003 (2011), DOI: 10.1103/PhysRevLett.106.195003
Laser-driven magnetic reconnection (LDMR) occurring with self-generated B fields has been experimentally and theoretically studied extensively, where strong B fields of more than megagauss are ...
socket通讯,支持多线程通讯Socket communication, multi-threaded TCPIP communication, heartbeat maintenance, automatic reconnection, thread number configuration, etc. 报错 双语对照 Socket ...
引导场对重联磁岛内磁场结构的影响:二维全粒子模拟,黄灿,陆全明,磁岛结构在无碰撞磁场重联中起着重要作用。本文利用二维全粒子模拟程序,在不同引导场强度、不同的电流片非对称度的情形下,研究
磁重联学校 2015 Nordita,斯德哥尔摩,2015 年 8 月
使用VPIC运行重新连接模拟 本教程基于相对论的磁重连接仿真。 我们假设您可以访问NERSC的Cori或TACC的Frontera,但是该过程可以推广到其他机器,而无需付出太多额外的努力。 VPIC的旧版本使用二进制(N对N)输出...
Intelligent Islanding and Seamless Reconnection Technique for Microgrid With UPQC
It can also play local media files, supporting updating online, built-in recording, shifting skins, multilingual service, hotkey operation, automatic reconnection, timing recording, timing playing, ...
Graceful reconnection handling WIFI-only mode Thread-safe support for multiple trackers Support for custom connection implementations Complete Matomo HTTP API support Custom dimensions Event Tracking ...
罗什 Rosh是漫游外壳。 它可以通过远程GNU屏幕会话自动重新连接到主机。 安装 将此行添加到您的应用程序的Gemfile中: gem 'rosh' 然后执行: ...-I interval Reconnection interval. 要分离外屏会
Magnetic reconnection driven by laser plasma interactions attracts great interests in the recent decades. Motivated by the rapid development of the laser technology, the ultra strong magnetic field ...
自动reconnection 连接pooling 支持运行数据库命令( count , sum , mapreduce等) ORM喜欢映射文档和字段 Signals为pre_save,post_save,pre_remove,post_remove,pre_update和post_update 通过测试覆盖...
参数参数描述url服务器地址reconnection发送错误时是否进行重连,默认truebuffer是否建立缓存池,当发送消息失败时会吧消息保存到缓存池等待下次发送heartRate系统自动与将程序心跳发送至服务端,默认60000...
In this paper, the recent studies of laboratory astrophysics with strong ... Also the low beta plasma magnetic reconnection (MR) has been studied. Theoretically, the model has been developed to deal
18.6 Dynamos and Magnetic Field Line Reconnection: Cowling's theorem; kinematic dynamos; magnetic reconnection 18.7 Magnetosonic Waves and the Scattering of Cosmic Rays V. PLASMA PHYSICS 19. The ...
reconnection is done so that an error message is not displayed. Version 12.0 (Mar.,2017) - Memory card of CNC is supported. Version 11.0 It is a missing number. Version 10.0 (Nov.,2014) - ...
猫鼬帮手目录安装 : npm install @ladjs/mongoose mongoose : yarn add @ladjs/mongoose mongoose 要求猫鼬v5是您项目中的依赖项。用法该软件包是一个猫鼬连接助手,它为猫鼬和事件调试助手设置了一些合理的默认...
小伙子议程议程是: 用于Node.js的轻量级作业计划库目录安装 : npm install @ladjs/agenda : yarn add @ladjs/agenda用法该程序包可替代常规require()调用。 它具有与通常相同的完全相同的API,并返回相同的Agenda...