mirror of
https://github.com/CappielloAntonio/tempo.git
synced 2026-02-04 16:23:08 +00:00
TEST - Connection check skipped
This commit is contained in:
@@ -15,7 +15,7 @@ public class CacheUtil {
|
|||||||
|
|
||||||
public static Interceptor offlineInterceptor = chain -> {
|
public static Interceptor offlineInterceptor = chain -> {
|
||||||
Request request = chain.request();
|
Request request = chain.request();
|
||||||
if (!false) {
|
if (!true) {
|
||||||
int maxStale = 60 * 60 * 24 * 30;
|
int maxStale = 60 * 60 * 24 * 30;
|
||||||
request = request.newBuilder()
|
request = request.newBuilder()
|
||||||
.header("Cache-Control", "public, only-if-cached, max-stale=" + maxStale)
|
.header("Cache-Control", "public, only-if-cached, max-stale=" + maxStale)
|
||||||
|
|||||||
Reference in New Issue
Block a user