Skip to content

Commit

Permalink
fix cleanup_interval json struct tag
Browse files Browse the repository at this point in the history
  • Loading branch information
topi314 committed Feb 3, 2023
1 parent 76305c3 commit 74aa656
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type Config struct {
Database DatabaseConfig `json:"database"`
MaxDocumentSize int `json:"max_document_size"`
ExpireAfter time.Duration `json:"expire_after"`
CleanupInterval time.Duration `json:"clean_up_interval"`
CleanupInterval time.Duration `json:"cleanup_interval"`
}

func (c *Config) UnmarshalJSON(data []byte) error {
Expand Down

0 comments on commit 74aa656

Please sign in to comment.