mirror of
https://github.com/opelly27/streetmerchant.git
synced 2026-05-20 07:37:39 +00:00
feat: optional per store min and max page sleep time (#576)
Co-authored-by: Jef LeCompte <jeffreylec@gmail.com>
This commit is contained in:
@@ -99,11 +99,11 @@ const masterList = new Map([
|
||||
|
||||
const list = new Map();
|
||||
|
||||
for (const name of config.store.stores) {
|
||||
if (masterList.has(name)) {
|
||||
list.set(name, masterList.get(name));
|
||||
for (const storeData of config.store.stores) {
|
||||
if (masterList.has(storeData.name)) {
|
||||
list.set(storeData.name, {...masterList.get(storeData.name), storeData});
|
||||
} else {
|
||||
const logString = `No store named ${name}, skipping.`;
|
||||
const logString = `No store named ${storeData.name}, skipping.`;
|
||||
logger.warn(logString);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user