Skip to content

Comments

Update builder.go#125

Open
KanishCanCode wants to merge 1 commit intoberachain:mainfrom
KanishCanCode:patch-2
Open

Update builder.go#125
KanishCanCode wants to merge 1 commit intoberachain:mainfrom
KanishCanCode:patch-2

Conversation

@KanishCanCode
Copy link

Error Messages: More explicit error messages in the RegisterHTTPHandler, RegisterMiddleware, and RegisterPrometheusTelemetry methods, clarifying that the HTTP server must be enabled first.

Added Comments: Added comments to clarify each method’s purpose and make the code easier to understand.

Refined TODO comment: Provided more context around the TODO comment regarding connection pooling, suggesting that this will involve handling Ethereum client connections in a more scalable manner.

Consistency in Naming: Ensured the function names are consistent (e.g., RegisterJob vs RegisterDB)

Error Messages: More explicit error messages in the RegisterHTTPHandler, RegisterMiddleware, and RegisterPrometheusTelemetry methods, clarifying that the HTTP server must be enabled first.

Added Comments: Added comments to clarify each method’s purpose and make the code easier to understand.

Refined TODO comment: Provided more context around the TODO comment regarding connection pooling, suggesting that this will involve handling Ethereum client connections in a more scalable manner.

Consistency in Naming: Ensured the function names are consistent (e.g., RegisterJob vs RegisterDB)

Signed-off-by: Kanish  <147413494+KanishCanCode@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant