-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #76 from FISCO-BCOS/opt-0815
V1.2.2
- Loading branch information
Showing
10 changed files
with
121 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
V1.2.1 | ||
V1.2.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package org.bcos.web3j.utils; | ||
|
||
/** | ||
* Created by mingzhenliu on 2018/8/24. | ||
*/ | ||
public class BlockLimit { | ||
public static Integer blockLimit = 500; | ||
public BlockLimit(int blockLimit){ | ||
this.blockLimit = blockLimit; | ||
} | ||
public int getBlockLimit() { | ||
return blockLimit; | ||
} | ||
|
||
public void setBlockLimit(int blockLimit) { | ||
BlockLimit.blockLimit = blockLimit; | ||
} | ||
} | ||
|
14 changes: 14 additions & 0 deletions
14
src/main/java/org/bcos/web3j/utils/Web3AsyncThreadPoolSize.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package org.bcos.web3j.utils; | ||
|
||
/** | ||
* Created by mingzhenliu on 2018/8/24. | ||
*/ | ||
public class Web3AsyncThreadPoolSize { | ||
public static Integer web3AsyncPoolSize = 100; | ||
public static Integer web3AsyncCorePoolSize = 50; | ||
public Web3AsyncThreadPoolSize(int web3AsyncPoolSize,int web3AsyncCorePoolSize){ | ||
this.web3AsyncPoolSize = web3AsyncPoolSize; | ||
this.web3AsyncCorePoolSize = web3AsyncCorePoolSize; | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters