removed code completion for market/exchange objects due to high memory consumption

This commit is contained in:
Alexandru Stefan committed 2021-11-24 17:59:46 +02:00
1 parent 0659ec6155
commit 88c3958419
1 file changed
+4 -2
@@ -346,9 +346,11 @@ function newFoundationsCodeEditorEditorPage() {
* We will provide auto-complete only for assets pair found in Markets
* Doing so we will avoid providing completion for assets that are not used in a market
*/
//TODO: Disabled on purpose, causes high memory consumption when multiple exchanges are loaded
let market = marketPrefix + baseAsset + dot + quotedAsset + dot + chartObj
stringObjects.push(market)
stringObjects.push(exchangePrefix + exchangeName + dot + market)
// stringObjects.push(market)
// stringObjects.push(exchangePrefix + exchangeName + dot + market)
})
})
})