mirror of
https://gitee.com/BDWare/custom-plugin
synced 2025-01-09 17:34:18 +00:00
update selfadaptive commit
This commit is contained in:
parent
95659a495d
commit
5c452333b5
@ -124,7 +124,7 @@ public class SelfAdaptiveShardingExecutor extends AbstractContextContractExecuto
|
||||
LOGGER.debug("receive contract request " + requestID);
|
||||
executedTxs.put(requestID, false);
|
||||
reqQueue.add(req);
|
||||
rcb.onResult(JsonUtil.toJson(new ContractResult(ContractResult.Status.Executing,
|
||||
rcb.onResult(JsonUtil.toJson(new ContractResult(ContractResult.Status.Success,
|
||||
new JsonPrimitive("this request is added into blocks"))));
|
||||
// if cache is full, submit
|
||||
if (reqQueue.size() >= SUBMIT_LIMIT) {
|
||||
|
Loading…
Reference in New Issue
Block a user