summaryrefslogtreecommitdiff
path: root/config.js
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2018-05-05 18:52:59 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2018-05-05 18:52:59 +0200
commit075c26e94f16379b302570e689d244edef94cb04 (patch)
tree08a0edad5703910f557707b16f8f9a032df34e84 /config.js
parent63da93e9f443a799208c8e706616a828fa528a3e (diff)
downloadbrokentalents-075c26e94f16379b302570e689d244edef94cb04.tar.gz
brokentalents-075c26e94f16379b302570e689d244edef94cb04.zip
save data to file
Diffstat (limited to 'config.js')
-rw-r--r--config.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/config.js b/config.js
index 5b35485..f2e0b4f 100644
--- a/config.js
+++ b/config.js
@@ -5,7 +5,7 @@ module.exports = {
baseUrl: 'https://api.dc01.gamelockerapp.com',
timeout: 5,
regions: ['sg', 'eu', 'na'],
- rpm: 50,
+ rpm: 5,
modes: ['blitz_pvp_ranked'],
},
etl: {
@@ -17,4 +17,7 @@ module.exports = {
group: ['Actor', 'Talent'],
sum: ['Level', 'Winner'],
},
+ file: {
+ pattern: (moment) => `./data/${moment.week()}/${moment.toISOString()}.json`,
+ },
};