feat: add optional ISR webhook parameters for BlogCacheInvalidator
This commit is contained in:
@@ -9,6 +9,14 @@
|
|||||||
parameters:
|
parameters:
|
||||||
default_api_ir_base_url: 'https://s.api.ir'
|
default_api_ir_base_url: 'https://s.api.ir'
|
||||||
|
|
||||||
|
# Optional ISR webhook for the public site. Without defaults, a deploy that
|
||||||
|
# does not define these variables makes BlogCacheInvalidator un-instantiable,
|
||||||
|
# which takes the WHOLE blog module down with HTTP 500 — reads included.
|
||||||
|
# BlogCacheInvalidator is fail-open on an empty string: no webhook, no cache
|
||||||
|
# invalidation, everything else keeps working.
|
||||||
|
env(REVALIDATE_WEBHOOK_URL): ''
|
||||||
|
env(REVALIDATE_WEBHOOK_SECRET): ''
|
||||||
|
|
||||||
services:
|
services:
|
||||||
# default configuration for services in *this* file
|
# default configuration for services in *this* file
|
||||||
_defaults:
|
_defaults:
|
||||||
|
|||||||
Reference in New Issue
Block a user