Skip to content
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

Update builder.go #125

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

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  <[email protected]>
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