Public Access
Added new endpoints to sync the list of games from steam if a user logged in.
This commit is contained in:
1 parent
ac97442312
commit
2f3507b57b
23 files changed
+749
-18
No files matched your search
@@ -43,4 +43,27 @@ app:
|
||||
steam:
|
||||
api-key: ${STEAM_API_KEY}
|
||||
base-url: https://api.steampowered.com
|
||||
imageService-url: https://cdn.cloudflare.steamstatic.com/steam/apps/
|
||||
imageService-url: https://cdn.cloudflare.steamstatic.com/steam/apps/
|
||||
library:
|
||||
sync-ttl-hours: 24
|
||||
force-sync-cooldown-seconds: 60
|
||||
running-stale-minutes: 5
|
||||
|
||||
resilience4j:
|
||||
retry:
|
||||
instances:
|
||||
steamApi:
|
||||
max-attempts: 3
|
||||
wait-duration: 500ms
|
||||
enable-exponential-backoff: true
|
||||
exponential-backoff-multiplier: 2
|
||||
retry-exceptions:
|
||||
- org.springframework.web.client.RestClientException
|
||||
- org.springframework.web.client.ResourceAccessException
|
||||
ratelimiter:
|
||||
instances:
|
||||
steamApi:
|
||||
# Steam allows ~100k req/day. Cap at ~2 req/s to leave headroom for bursts.
|
||||
limit-for-period: 2
|
||||
limit-refresh-period: 1s
|
||||
timeout-duration: 5s
|
||||
Reference in new issue
Block a user