mirror of
https://github.com/antebudimir/tempus.git
synced 2025-12-31 17:43:32 +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 -> {
|
||||
Request request = chain.request();
|
||||
if (!false) {
|
||||
if (!true) {
|
||||
int maxStale = 60 * 60 * 24 * 30;
|
||||
request = request.newBuilder()
|
||||
.header("Cache-Control", "public, only-if-cached, max-stale=" + maxStale)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue