MCPcopy Index your code
hub / github.com/bytebase/bytebase / defaultClientOptions

Function defaultClientOptions

action/command/api.go:44–54  ·  view source on GitHub ↗

defaultClientOptions returns the default client options.

()

Source from the content-addressed store, hash-verified

42
43// defaultClientOptions returns the default client options.
44func defaultClientOptions() clientOptions {
45 return clientOptions{
46 pageSize: 100,
47 timeout: 120 * time.Second,
48 retryConfig: &retryConfig{
49 maxAttempts: 3,
50 initialInterval: 1 * time.Second,
51 maxInterval: 30 * time.Second,
52 },
53 }
54}
55
56// client is the Bytebase API client used inside the action command package.
57type client struct {

Calls

no outgoing calls