Skip to content

Commit

Permalink
Disable travis & appveyor. (paritytech#506)
Browse files Browse the repository at this point in the history
* Disable travis & appveyor.

* Fix fmt.
  • Loading branch information
tomusdrw authored Oct 16, 2019
1 parent 1f11075 commit 8ebb62d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 95 deletions.
66 changes: 0 additions & 66 deletions .travis.yml

This file was deleted.

24 changes: 0 additions & 24 deletions appveyor.yml

This file was deleted.

7 changes: 2 additions & 5 deletions tcp/src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ impl<M: Metadata, S: Middleware<M> + 'static> ServerBuilder<M, S> {
Ok(addr) => addr,
Err(e) => {
warn!(target: "tcp", "Unable to determine socket peer address, ignoring connection {}", e);
return future::Either::A(future::ok(()))
return future::Either::A(future::ok(()));
}
};
trace!(target: "tcp", "Accepted incoming connection from {}", &peer_addr);
Expand All @@ -107,10 +107,7 @@ impl<M: Metadata, S: Middleware<M> + 'static> ServerBuilder<M, S> {
let service = Service::new(peer_addr, rpc_handler.clone(), meta);
let (writer, reader) = Framed::new(
socket,
codecs::StreamCodec::new(
incoming_separator.clone(),
outgoing_separator.clone()
),
codecs::StreamCodec::new(incoming_separator.clone(), outgoing_separator.clone()),
)
.split();

Expand Down

0 comments on commit 8ebb62d

Please sign in to comment.