Skip to content

Commit

Permalink
feat: scheduler dynconfig expire time
Browse files Browse the repository at this point in the history
Signed-off-by: Gaius <[email protected]>
  • Loading branch information
gaius-qi committed Aug 10, 2021
1 parent 4833e98 commit 9b707ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scheduler/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func (c *Config) Validate() error {
func NewDefaultDynConfig() *DynConfig {
return &DynConfig{
Type: dc.LocalSourceType,
ExpireTime: 60000 * 1000 * 1000,
ExpireTime: 30 * time.Second,
CDNDirPath: "",
Data: &DynconfigData{
CDNs: []*CDN{
Expand Down

0 comments on commit 9b707ba

Please sign in to comment.