diff options
Diffstat (limited to 'hugolib/site.go')
-rw-r--r-- | hugolib/site.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/site.go b/hugolib/site.go index 4b4df6451..de41b8fc3 100644 --- a/hugolib/site.go +++ b/hugolib/site.go @@ -414,7 +414,7 @@ func newSite(cfg deps.DepsCfg) (*Site, error) { timeout := 30 * time.Second if cfg.Language.IsSet("timeout") { switch v := cfg.Language.Get("timeout").(type) { - case int: + case int64: timeout = time.Duration(v) * time.Millisecond case string: d, err := time.ParseDuration(v) |