Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

settings: add network.connection_timeout and network.cloud_api.skip_board_detection_calls #2770

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Updated JSON schema for configuration
  • Loading branch information
cmaglie committed Dec 10, 2024
commit b36819ee785807417b752a9881d3183fef632404
31 changes: 21 additions & 10 deletions 31 internal/cli/configuration/configuration.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,8 @@
},
"ttl": {
"description": "cache expiration time of build folders. If the cache is hit by a compilation the corresponding build files lifetime is renewed. The value format must be a valid input for time.ParseDuration(), defaults to `720h` (30 days)",
"oneOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "string",
"pattern": "^\\+?([0-9]?\\.?[0-9]+(([nuµm]?s)|m|h))+$"
}
]
"type": "string",
"pattern": "^[+-]?(([0-9]+(\\.[0-9]*)?|(\\.[0-9]+))(ns|us|µs|μs|ms|s|m|h))+$"
}
},
"type": "object"
Expand Down Expand Up @@ -146,6 +138,25 @@
},
"type": "object"
},
"network": {
"description": "settings related to network connections.",
"type": "object",
"properties": {
"proxy": {
"description": "proxy settings for network connections.",
"type": "string"
},
"user_agent_ext": {
"description": "extra string to append to the user agent string in HTTP requests.",
"type": "string"
},
"connection_timeout": {
"description": "timeout for network connections, defaults to '30s'",
"type": "string",
"pattern": "^[+-]?(([0-9]+(\\.[0-9]*)?|(\\.[0-9]+))(ns|us|µs|μs|ms|s|m|h))+$"
}
}
},
"output": {
"description": "settings related to text output.",
"properties": {
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.