mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-01 18:03:33 +00:00
TEST - Connection check skipped
This commit is contained in:
parent
340385aa85
commit
cd1a3d8c30
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue