Skip to content

Commit c9ab140

Browse files
committed
shaping.lua: expose memoize populate retry/timeout params
undocumented for the moment
1 parent 19341dc commit c9ab140

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

assets/policy-extras/shaping.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,8 @@ function mod:setup_with_automation(options)
415415
ttl = options.cache_ttl or '1 minute',
416416
capacity = 4,
417417
invalidate_with_epoch = true,
418+
retry_on_populate_timeout = options.retry_shaping_data_fetch_on_populate_timeout,
419+
populate_timeout = options.shaping_data_populate_timeout,
418420
})
419421

420422
local file_names = {}

0 commit comments

Comments
 (0)