From 0f5508013d776f8806a87957f80e74c7f74c72eb Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 20 May 2024 18:13:07 +0200 Subject: feat(config): print durations and URLs with human values --- defaults.toml | 32 ++++++++++---------------------- 1 file changed, 10 insertions(+), 22 deletions(-) (limited to 'defaults.toml') diff --git a/defaults.toml b/defaults.toml index a39b592..da3eb4f 100644 --- a/defaults.toml +++ b/defaults.toml @@ -4,6 +4,7 @@ LogLevel = 'INFO' [Web] ListenAddress = 'localhost' Port = 3000 +BaseURL = 'http://localhost:3000' SentryDSN = '' Environment = 'development' ExtraHeadHTML = '' @@ -41,22 +42,11 @@ trusted-types = [] upgrade-insecure-requests = false worker-src = [] -[Web.BaseURL] -Scheme = 'http' -Opaque = '' -Host = 'localhost:3000' -Path = '' -RawPath = '' -OmitHost = false -ForceQuery = false -RawQuery = '' -Fragment = '' -RawFragment = '' - [Web.Headers] x-content-type-options = 'nosniff' [Importer] +Timeout = '30m0s' UpdateAt = 04:00:00 [Importer.Sources] @@ -70,8 +60,8 @@ Channel = 'darwin' URL = 'https://github.com/LnL7/nix-darwin/archive/master.tar.gz' Attribute = 'options' ImportPath = 'release.nix' -FetchTimeout = 300000000000 -ImportTimeout = 900000000000 +FetchTimeout = '5m0s' +ImportTimeout = '15m0s' OutputPath = 'share/doc/darwin' [Importer.Sources.darwin.Repo] @@ -90,8 +80,8 @@ Channel = 'home-manager' URL = 'https://github.com/nix-community/home-manager/archive/master.tar.gz' Attribute = 'docs.json' ImportPath = 'default.nix' -FetchTimeout = 300000000000 -ImportTimeout = 900000000000 +FetchTimeout = '5m0s' +ImportTimeout = '15m0s' OutputPath = 'share/doc/home-manager' [Importer.Sources.home-manager.Repo] @@ -110,8 +100,8 @@ Channel = 'nixpkgs' URL = 'https://channels.nixos.org/nixos-unstable/nixexprs.tar.xz' Attribute = 'options' ImportPath = 'nixos/release.nix' -FetchTimeout = 300000000000 -ImportTimeout = 900000000000 +FetchTimeout = '5m0s' +ImportTimeout = '15m0s' OutputPath = 'share/doc/nixos' [Importer.Sources.nixos.Repo] @@ -130,8 +120,8 @@ Channel = 'nixos-unstable' URL = '' Attribute = '' ImportPath = '' -FetchTimeout = 300000000000 -ImportTimeout = 900000000000 +FetchTimeout = '5m0s' +ImportTimeout = '15m0s' OutputPath = 'packages.json.br' [Importer.Sources.nixpkgs.Repo] @@ -139,5 +129,3 @@ Type = 'github' Owner = 'NixOS' Repo = 'nixpkgs' Revision = '' - -[Importer.Timeout] -- cgit 1.4.1