Skip to content

Commit

Permalink
feat: go from websocket-server to json rpc websocket/http server
Browse files Browse the repository at this point in the history
Includes:
  - re-purposing of feature flags
    * metrics is always a thing (on)
    * monitoring is the gated feature
    * websocket-server flag is gone, we only gate push notifications
  - jsonrpc setup and rpc method register
  - prometheus exposition format to json parser
  - Added todo around split networking config

Notes:
  - will not merge this in until example app has been restored with the client changes
  • Loading branch information
zeeshanlakhani committed Oct 31, 2023
1 parent f8b0fe5 commit 2c7d2c0
Show file tree
Hide file tree
Showing 41 changed files with 1,913 additions and 760 deletions.
2 changes: 1 addition & 1 deletion .envrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use_flake

export RUST_LOG=homestar=debug,homestar_runtime=debug,libp2p=info,libp2p_gossipsub::behaviour=debug,tarpc=info,tower_http=debug
export RUST_LOG=homestar=debug,homestar_runtime=debug,libp2p=info,libp2p_gossipsub::behaviour=debug,tarpc=info,tower_http=debug,jsonrpsee_server=debug
export RUST_BACKTRACE=full
export RUSTFLAGS="--cfg tokio_unstable"
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ report.json
homestar.err
homestar.out
homestar.pid
homestar.log*

# locks
homestar-wasm/Cargo.lock
Expand Down
Loading

0 comments on commit 2c7d2c0

Please sign in to comment.