Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump drift-rs version #86

Merged
merged 5 commits into from
Oct 23, 2024
Merged

Bump drift-rs version #86

merged 5 commits into from
Oct 23, 2024

Conversation

jordy25519
Copy link
Collaborator

@jordy25519 jordy25519 commented Oct 22, 2024

The latest drift-rs version allows callers to select markets for subscriptions (previously subscribes to everything)

Changes

  • Add env RPC_THROTTLE, user can set some delay in seconds to throttle subscriptions on startup
  • gateway no longer subscribes to all markets/oracles by default. users should declare which markets they plan to interact with at start time. some reasonable defaults are used based on the user's existing positions/balances
    e.g. drift-gateway <rpc_host> --markets sol-perp,sol

closes #85 and #83

@jordy25519 jordy25519 merged commit 577f709 into master Oct 23, 2024
1 check passed
@jordy25519 jordy25519 deleted the chore/sdk-update branch October 23, 2024 03:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

HTTP 429 Too many requests on ws subscribe
1 participant