This commit is contained in:
ntr
2019-05-11 12:23:01 +10:00
parent 1a08ecdbab
commit 4f70354b94
-1
View File
@@ -118,7 +118,6 @@ pub fn start() {
match websocket.read_message() {
Ok(msg) => {
let begin = Instant::now();
info!("new message");
let db_connection = db.get().expect("unable to get db connection");
match receive(db_connection, &rpc, msg, &mut websocket) {
Ok(_r) => info!("response sent. total duration: {:?}", begin.elapsed()),