summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Hill <aa1ronham@gmail.com>2018-10-14 20:35:57 -0400
committerAaron Hill <aa1ronham@gmail.com>2018-10-17 21:21:04 -0400
commit0b0c7c6c145856879e9521b3da3ad2ab8e42687a (patch)
tree20895e81dbb58357059323d9819be028d4eb41b8
parent56961b62187d55a62539a7443a289b373cbb5144 (diff)
downloadroughenough-0b0c7c6c145856879e9521b3da3ad2ab8e42687a.zip
Un-comment poll registration
-rw-r--r--src/server.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server.rs b/src/server.rs
index caf33af..ca27a5e 100644
--- a/src/server.rs
+++ b/src/server.rs
@@ -87,8 +87,8 @@ impl Server {
let poll = Poll::new().unwrap();
poll.register(&socket, MESSAGE, Ready::readable(), PollOpt::edge())
.unwrap();
- //poll.register(&timer, STATUS, Ready::readable(), PollOpt::edge())
- // .unwrap();
+ poll.register(&timer, STATUS, Ready::readable(), PollOpt::edge())
+ .unwrap();
let merkle = MerkleTree::new();
let requests = Vec::with_capacity(config.batch_size() as usize);