Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions third_party/pyth/price-service/.env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@ PROM_PORT=8081

# The default is to log with level info.
#LOG_LEVEL=debug

REMOVE_EXPIRED_VALUES_INTERVAL_SECONDS=60
CACHE_TTL_SECONDS=300
4 changes: 4 additions & 0 deletions third_party/pyth/price-service/docker-compose.mainnet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ services:
READINESS_SPY_SYNC_TIME_SECONDS: "20"
READINESS_NUM_LOADED_SYMBOLS: "50"
LOG_LEVEL: warning
DB_API_CLUSTER: pythnet
REMOVE_EXPIRED_VALUES_INTERVAL_SECONDS: "60"
CACHE_TTL_SECONDS: "300"
DB_API_ENDPOINT: "https://web-api.pyth.network"
healthcheck:
test:
[
Expand Down
4 changes: 4 additions & 0 deletions third_party/pyth/price-service/docker-compose.testnet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ services:
READINESS_SPY_SYNC_TIME_SECONDS: "20"
READINESS_NUM_LOADED_SYMBOLS: "50"
LOG_LEVEL: warning
DB_API_CLUSTER: devnet
REMOVE_EXPIRED_VALUES_INTERVAL_SECONDS: "60"
CACHE_TTL_SECONDS: "300"
DB_API_ENDPOINT: "https://web-api.pyth.network"
healthcheck:
test:
[
Expand Down
166 changes: 116 additions & 50 deletions third_party/pyth/price-service/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion third_party/pyth/price-service/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pythnetwork/pyth-price-service",
"version": "2.2.4",
"version": "2.3.0",
"description": "Pyth Price Service",
"main": "index.js",
"scripts": {
Expand All @@ -18,6 +18,7 @@
"@types/jest": "^27.5.0",
"@types/long": "^4.0.1",
"@types/node": "^16.6.1",
"@types/node-fetch": "^2.6.2",
"@types/supertest": "^2.0.12",
"jest": "^28.0.3",
"prettier": "^2.3.2",
Expand Down Expand Up @@ -46,6 +47,7 @@
"joi": "^17.6.0",
"lru-cache": "^7.14.1",
"morgan": "^1.10.0",
"node-fetch": "^2.6.1",
"prom-client": "^14.0.1",
"response-time": "^2.3.2",
"winston": "^3.3.3",
Expand Down
Loading