forked from buzzfeed-openlab/rss-puppy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sample-config.json
37 lines (33 loc) · 1.42 KB
/
sample-config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
"feeds": [
"https://www.sec.gov/cgi-bin/browse-edgar?action=getcompany&CIK=0001440512&type=&dateb=&owner=exclude&start=0&count=40&output=atom",
"https://www.sec.gov/cgi-bin/browse-edgar?action=getcompany&CIK=0001326801&type=&dateb=&owner=exclude&start=0&count=40&output=atom",
"https://www.sec.gov/cgi-bin/browse-edgar?action=getcompany&CIK=0001652044&type=&dateb=&owner=exclude&start=0&count=40&output=atom",
"https://www.sec.gov/cgi-bin/browse-edgar?action=getcompany&CIK=0000320193&type=&dateb=&owner=exclude&start=0&count=40&output=atom",
"https://www.sec.gov/cgi-bin/browse-edgar?action=getcompany&CIK=0001018724&type=&dateb=&owner=exclude&start=0&count=40&output=atom",
"https://www.sec.gov/cgi-bin/browse-edgar?action=getcompany&CIK=0000936468&type=&dateb=&owner=exclude&start=0&count=40&output=atom"
],
"throttling": {
"monitorFrequency": 8000,
"oldFeedThreshold": 30,
"maxConcurrent": 10,
"concurrentInterval": 1000
},
"dbconfig": {
"user": "DB USER",
"password": "DB USER PW",
"url": "POSTGRES DB PATH",
"port": 5432,
"dbname": "DB NAME",
"initScript": "./monitor/init-feed-db.sql"
},
"outputs": [
{
"file": "./outputs/debug-logger.js",
"config": {
"showOldFeedMessages": true
}
}
],
"exitOnError": true
}