Commit e92f08e 1 parent 1acbebc commit e92f08e Copy full SHA for e92f08e
File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -266,7 +266,7 @@ sub vcl_hit {
266
266
return (deliver );
267
267
} else {
268
268
# No candidate for grace. Fetch a fresh object.
269
- return (fetch );
269
+ return (miss );
270
270
}
271
271
} else {
272
272
# backend is sick - use full grace
@@ -275,12 +275,12 @@ sub vcl_hit {
275
275
return (deliver );
276
276
} else {
277
277
# no graced object.
278
- return (fetch );
278
+ return (miss );
279
279
}
280
280
}
281
281
282
282
# fetch & deliver once we get the result
283
- return (fetch ); # Dead code, keep as a safeguard
283
+ return (miss ); # Dead code, keep as a safeguard
284
284
}
285
285
286
286
sub vcl_miss {
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ exec bash -c \
11
11
" exec varnishd \
12
12
-a :$VARNISH_PORT \
13
13
-T localhost:6082 \
14
- -F -u varnish \
14
+ -F \
15
15
-f $VARNISH_CONFIG \
16
16
-s malloc,$CACHE_SIZE \
17
- $VARNISHD_PARAMS "
17
+ $VARNISHD_PARAMS "
You can’t perform that action at this time.
0 commit comments