mirror of
https://github.com/fafhrd91/actix-net
synced 2025-08-14 13:20:31 +02:00
Compare commits
2 Commits
stable-0.2
...
v0.2.0
Author | SHA1 | Date | |
---|---|---|---|
|
38235c14bb | ||
|
bf9269de9a |
18
CHANGES.md
18
CHANGES.md
@@ -1,5 +1,23 @@
|
|||||||
# Changes
|
# Changes
|
||||||
|
|
||||||
|
## [0.2.0] - 2018-11-08
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
* Timeout service
|
||||||
|
|
||||||
|
* Added ServiceConfig and ServiceRuntime for server service configuration
|
||||||
|
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
* Connector has been refactored
|
||||||
|
|
||||||
|
* timer and LowResTimer renamed to time and LowResTime
|
||||||
|
|
||||||
|
* Refactored `Server::configure()` method
|
||||||
|
|
||||||
|
|
||||||
## [0.1.1] - 2018-10-10
|
## [0.1.1] - 2018-10-10
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
@@ -39,7 +39,7 @@ rust-tls = ["rustls", "tokio-rustls", "webpki", "webpki-roots"]
|
|||||||
cell = []
|
cell = []
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
actix = "^0.7.5"
|
actix = "0.7.5"
|
||||||
|
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
num_cpus = "1.0"
|
num_cpus = "1.0"
|
||||||
|
@@ -106,7 +106,7 @@ where
|
|||||||
if self.expire <= now {
|
if self.expire <= now {
|
||||||
Err((self.f)())
|
Err((self.f)())
|
||||||
} else {
|
} else {
|
||||||
self.delay = Delay::new(self.expire);
|
self.delay.reset(self.expire);
|
||||||
let _ = self.delay.poll();
|
let _ = self.delay.poll();
|
||||||
Ok(Async::Ready(()))
|
Ok(Async::Ready(()))
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user