Architeuthis/config.json
2020-01-03 12:25:24 -05:00

74 lines
1.4 KiB
JSON

{
"addr": "0.0.0.0:5050",
"timeout": "15s",
"wait": "0.5s",
"multiplier": 1,
"retries": 3,
"influx_url": "http://influxdb:8086",
"influx_user": "",
"influx_pass": "",
"max_error": 0.4,
"redis_url": "redis:6379",
"hosts": [
{
"host": "*",
"every": "1ms",
"burst": 1,
"headers": {
"Cache-Control": "max-age=0",
"Connection": "keep-alive",
"User-Agent": "Mozilla/5.0 (X11; Linux x86_64; rv:70.0) Gecko/20100101 Firefox/70.0"
},
"rules": [
]
},
{
"host": ".i.imgur.com",
"every": "1s",
"burst": 1,
"headers": {
"User-Agent": "curl/7.65.1"
}
},
{
"host": "*.reddit.com",
"every": "1s",
"burst": 1
},
{
"host": ".twitter.com",
"every": "24s",
"burst": 20
},
{
"host": ".pbs.twimg.com",
"every": "125ms"
},
{
"host": ".www.instagram.com",
"every": "4500ms",
"burst": 3
},
{
"host": ".deviantart.com",
"every": "2s",
"burst": 3
},
{
"host": ".ve.media.tumblr.com",
"every": "200ms",
"burst": 30,
"rules": [
{"condition": "status=403", "action": "dont_retry"}
]
},
{
"host": ".s3.amazonaws.com",
"every": "10s",
"burst": 1,
"rules": [
{"condition": "status=403", "action": "dont_retry"}
]
}
]
}