1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-08-13 16:38:22 +02:00

Compare commits

...

2 Commits

Author SHA1 Message Date
Nikolay Kim
38235c14bb update changes 2018-11-08 09:16:40 -08:00
Nikolay Kim
bf9269de9a reset delay instead of creating new one 2018-11-07 21:20:50 -08:00
3 changed files with 20 additions and 2 deletions

View File

@@ -1,5 +1,23 @@
# 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
### Changed

View File

@@ -39,7 +39,7 @@ rust-tls = ["rustls", "tokio-rustls", "webpki", "webpki-roots"]
cell = []
[dependencies]
actix = "^0.7.5"
actix = "0.7.5"
log = "0.4"
num_cpus = "1.0"

View File

@@ -106,7 +106,7 @@ where
if self.expire <= now {
Err((self.f)())
} else {
self.delay = Delay::new(self.expire);
self.delay.reset(self.expire);
let _ = self.delay.poll();
Ok(Async::Ready(()))
}