|
|
@@ -59,8 +59,8 @@ public class NFTService {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- @Retryable(maxAttempts = 10, backoff = @Backoff(delay = 5000), value = BusinessException.class)
|
|
|
- public NFT createToken(String toAccount) throws Exception {
|
|
|
+ @Retryable(maxAttempts = 100, backoff = @Backoff(delay = 5000), value = BusinessException.class)
|
|
|
+ public synchronized NFT createToken(String toAccount) throws Exception {
|
|
|
JSONArray jsonArray = new JSONArray();
|
|
|
jsonArray.add(Utils.getIdentityByName(toAccount));
|
|
|
CallRestBizParam callRestBizParam = CallRestBizParam.builder()
|