This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
Register
Sign In
hummingbird
/
jdchain
Not watched
Unwatch
Watch all
Watch but not notify
2
Star
0
Fork
0
Code
Releases
31
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
modify bug of gateway's boot when remote can not be connected
tags/1.1.10
shaozhuguang
5 years ago
parent
f89dc43fc6
commit
12fdc10c6c
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
source/gateway/src/main/java/com/jd/blockchain/gateway/service/PeerConnectionManager.java
+ 2
- 0
source/gateway/src/main/java/com/jd/blockchain/gateway/service/PeerConnectionManager.java
View File
@@ -97,6 +97,8 @@ public class PeerConnectionManager implements PeerService, PeerConnector {
peerBlockchainServiceFactories.put(peerAddress, peerServiceFactory);
updateLedgerCache();
}
} catch (Exception e) {
LOGGER.error("Connect peer {} fail !!!", peerAddress);
} finally {
// 连接成功的话,更新账本
ledgerHashLock.unlock();
Write
Preview
Loading…
Cancel
Save