Skip to content

Commit

Permalink
made tcp the default protocol for clients
Browse files Browse the repository at this point in the history
  • Loading branch information
babymotte committed Jul 16, 2024
1 parent 0e86f67 commit 7db23a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions worterbuch-client/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ impl Config {

impl Default for Config {
fn default() -> Self {
let proto = "ws".to_owned();
let proto = "tcp".to_owned();
let host_addr = "localhost".to_owned();
let port = Some(8080);
let port = Some(8081);
let keepalive_timeout = Duration::from_secs(5);
let send_timeout = Duration::from_secs(5);
let connection_timeout = Duration::from_secs(5);
Expand Down

0 comments on commit 7db23a0

Please sign in to comment.