add new topics to configjs

This commit is contained in:
vvzvlad 2024-09-04 22:32:28 +03:00
parent 7fd61d13e5
commit 505ba1a42d

View File

@ -13,30 +13,48 @@
"worker": [ "worker": [
{ {
"topicId": 1, "topicId": 1,
"inferenceEntrypointName": "api-worker-reputer", "inferenceEntrypointName": "api-worker-reputer", "loopSeconds": 5,
"loopSeconds": 5, "parameters": { "InferenceEndpoint": "http://inference:8080/inference/ETH/10m", "Token": "ETH" }
"parameters": {
"InferenceEndpoint": "http://inference:8000/inference/{Token}",
"Token": "ETH"
}
}, },
{ {
"topicId": 2, "topicId": 2,
"inferenceEntrypointName": "api-worker-reputer", "inferenceEntrypointName": "api-worker-reputer", "loopSeconds": 5,
"loopSeconds": 5, "parameters": { "InferenceEndpoint": "http://inference:8080/inference/ETH/24h", "Token": "ETH" }
"parameters": { },
"InferenceEndpoint": "http://inference:8000/inference/{Token}", {
"Token": "ETH" "topicId": 3,
} "inferenceEntrypointName": "api-worker-reputer", "loopSeconds": 5,
"parameters": { "InferenceEndpoint": "http://inference:8080/inference/BTC/10m", "Token": "BTC" }
},
{
"topicId": 4,
"inferenceEntrypointName": "api-worker-reputer", "loopSeconds": 5,
"parameters": { "InferenceEndpoint": "http://inference:8080/inference/BTC/24h", "Token": "BTC" }
},
{
"topicId": 5,
"inferenceEntrypointName": "api-worker-reputer", "loopSeconds": 5,
"parameters": { "InferenceEndpoint": "http://inference:8080/inference/SOL/10m", "Token": "SOL" }
},
{
"topicId": 6,
"inferenceEntrypointName": "api-worker-reputer", "loopSeconds": 5,
"parameters": { "InferenceEndpoint": "http://inference:8080/inference/SOL/24h", "Token": "SOL" }
}, },
{ {
"topicId": 7, "topicId": 7,
"inferenceEntrypointName": "api-worker-reputer", "inferenceEntrypointName": "api-worker-reputer", "loopSeconds": 5,
"loopSeconds": 5, "parameters": { "InferenceEndpoint": "http://inference:8080/inference/ETH/20m", "Token": "ETH" }
"parameters": { },
"InferenceEndpoint": "http://inference:8000/inference/{Token}", {
"Token": "ETH" "topicId": 8,
} "inferenceEntrypointName": "api-worker-reputer", "loopSeconds": 5,
"parameters": { "InferenceEndpoint": "http://inference:8080/inference/BNB/20m", "Token": "BNB" }
},
{
"topicId": 9,
"inferenceEntrypointName": "api-worker-reputer", "loopSeconds": 5,
"parameters": { "InferenceEndpoint": "http://inference:8080/inference/ARB/20m", "Token": "ARB" }
} }
] ]
} }