diff options
author | 王清雨 <colinwang.0616@gmail.com> | 2021-07-29 05:39:08 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-28 15:39:08 -0600 |
commit | c131339c5cda3a541223fde4a714aab55de13b9a (patch) | |
tree | 8f5e82cf3596bb78497266e287e7f81e6ef35cc5 /modules/caddyhttp/reverseproxy/fastcgi/fastcgi.go | |
parent | b6f51254ea2dcb29dde0ffb4076802505a43ace1 (diff) |
admin: Implement load_interval to pull config on a timer (#4246)
* feat: implement a simple timer to pull config
mostly referenced to the issue
re #4106
* Update admin.go
use `caddy.Duration`
Co-authored-by: Matt Holt <mholt@users.noreply.github.com>
* Update caddy.go
Co-authored-by: Matt Holt <mholt@users.noreply.github.com>
* Update admin.go
Co-authored-by: Francis Lavoie <lavofr@gmail.com>
* fix: sync load config when no pull interval provided
try not to make break change
* fix: change PullInterval to LoadInterval
* fix: change pull_interval to load_interval
* Update caddy.go
Co-authored-by: Matt Holt <mholt@users.noreply.github.com>
Co-authored-by: Matt Holt <mholt@users.noreply.github.com>
Co-authored-by: Francis Lavoie <lavofr@gmail.com>
Diffstat (limited to 'modules/caddyhttp/reverseproxy/fastcgi/fastcgi.go')
0 files changed, 0 insertions, 0 deletions