MCPcopy Create free account
hub / github.com/devaccuracy/ledgerforge / initializeHTTPClient

Function initializeHTTPClient

ledgerforge.go:101–110  ·  view source on GitHub ↗

initializeHTTPClient creates and configures the HTTP client for webhook requests

()

Source from the content-addressed store, hash-verified

99
100// initializeHTTPClient creates and configures the HTTP client for webhook requests
101func initializeHTTPClient() *http.Client {
102 return &http.Client{
103 Timeout: 30 * time.Second,
104 Transport: &http.Transport{
105 MaxIdleConns: 100,
106 MaxIdleConnsPerHost: 10,
107 IdleConnTimeout: 90 * time.Second,
108 },
109 }
110}
111
112// NewLedgerForge initializes a new instance of LedgerForge with the provided database datasource.
113// It fetches the configuration, initializes Redis client, balance tracker, queue, and search client.

Callers 1

NewLedgerForgeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected