make sure restart if global healthState is unhealhty
This commit is contained in:
@@ -128,7 +128,9 @@ const SPOT_MARKETS_TO_LOAD =
|
||||
: undefined;
|
||||
|
||||
const enableOffloadQueue = process.env.ENABLE_OFFLOAD === 'true';
|
||||
const ignoreList = process.env.IGNORE_LIST?.split(',') || ['5N1AcdftujhXWZdBaqfciaKtXn6uVBKjmgwf6aQxR1vW'];
|
||||
const ignoreList = process.env.IGNORE_LIST?.split(',') || [
|
||||
'5N1AcdftujhXWZdBaqfciaKtXn6uVBKjmgwf6aQxR1vW',
|
||||
];
|
||||
|
||||
logger.info(`RPC endpoint: ${endpoint}`);
|
||||
logger.info(`WS endpoint: ${wsEndpoint}`);
|
||||
@@ -479,7 +481,7 @@ const main = async () => {
|
||||
const orderSubscriber = new OrderSubscriberFiltered({
|
||||
driftClient,
|
||||
subscriptionConfig,
|
||||
ignoreList
|
||||
ignoreList,
|
||||
});
|
||||
|
||||
dlobProvider = getDLOBProviderFromOrderSubscriber(orderSubscriber);
|
||||
|
||||
Reference in New Issue
Block a user