Browse Source

remove commented code

Mokhtar Naamani 4 years ago
parent
commit
cf4b710756
1 changed files with 0 additions and 2 deletions
  1. 0 2
      storage-node/packages/runtime-api/index.js

+ 0 - 2
storage-node/packages/runtime-api/index.js

@@ -36,7 +36,6 @@ Promise.config({
   cancellation: true,
 })
 
-// const ASYNC_LOCK_TIMEOUT = 30 * 1000
 const TX_TIMEOUT = 20 * 1000
 
 /*
@@ -62,7 +61,6 @@ class RuntimeApi {
     // Create the API instrance
     this.api = await ApiPromise.create({ provider })
 
-    // this.asyncLock = new AsyncLock({ timeout: ASYNC_LOCK_TIMEOUT, maxPending: 100 })
     this.asyncLock = new AsyncLock()
 
     // Keep track locally of account nonces.