// Case B: any long-running transaction; ignore this set()
} elseif ( $age > self::MAX_READ_LAG ) {
$this->logger->info( 'Rejected set() for {cachekey} due to snapshot lag.',
- [ 'cachekey' => $key ] );
+ [ 'cachekey' => $key, 'lag' => $lag, 'age' => $age ] );
return true; // no-op the write for being unsafe
// Case C: high replication lag; lower TTL instead of ignoring all set()s
} elseif ( $lag === false || $lag > self::MAX_READ_LAG ) {
$ttl = $ttl ? min( $ttl, self::TTL_LAGGED ) : self::TTL_LAGGED;
$this->logger->warning( 'Lowered set() TTL for {cachekey} due to replication lag.',
- [ 'cachekey' => $key ] );
+ [ 'cachekey' => $key, 'lag' => $lag, 'age' => $age ] );
// Case D: medium length request with medium replication lag; ignore this set()
} else {
$this->logger->info( 'Rejected set() for {cachekey} due to high read lag.',
- [ 'cachekey' => $key ] );
+ [ 'cachekey' => $key, 'lag' => $lag, 'age' => $age ] );
return true; // no-op the write for being unsafe
}
list-style-image: e( '/* @embed */' ) url( @fallback ) e( '\9' );
}
+.hyphens( @value: auto ) {
+ & when ( @value = auto ){
+ // Legacy `word-wrap`; IE 6-11, Edge 12+, Firefox 3.5+, Chrome 4+, Safari 3.1+,
+ // Opera 11.5+, iOS 3.2+, Android 2.1+
+ // `overflow-wrap` is W3 standard, but it doesn't seem as if browser vendors
+ // will abandon `word-wrap` (it has wider support), therefore no duplication.
+ word-wrap: break-word;
+ }
+
+ // CSS3 hyphenation
+ -webkit-hyphens: @value; // Safari 5.1+, iOS 4.3+
+ -moz-hyphens: @value; // Firefox 6-42
+ -ms-hyphens: @value; // IE 10-11/Edge 12+
+ hyphens: @value; // Firefox 43+, Chrome 55+, Android 62+, UC Browser 11.8+, Samsung 6.2+
+}
+
.transform( @value ) {
-webkit-transform: @value; // Safari 3.1-8.0, iOS 3.2-8.4, Android 2.1-4.4.4
-moz-transform: @value; // Firefox 3.5-15