Skip to content

Commit

Permalink
Fix compilation without cache (#420)
Browse files Browse the repository at this point in the history
  • Loading branch information
Erk- authored and Lakelezz committed Oct 24, 2018
1 parent 75fb5c0 commit 176fde2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/client/dispatch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ use std::time::Duration;
#[cfg(feature = "cache")]
use super::CACHE;

#[cfg(feature = "cache")]
lazy_static! {
pub static ref CACHE_TRY_WRITE_DURATION: Option<Duration> =
CACHE.read().get_try_write_duration();
Expand Down

0 comments on commit 176fde2

Please sign in to comment.