Skip to content

Conversation

@enixsoft
Copy link
Contributor

@enixsoft enixsoft commented Feb 5, 2025

πŸ”— Linked issue

https://github.com/orgs/adonisjs/discussions/4848

❓ Type of change

  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

Adds Node.js server timeout options (keepAliveTimeout, headersTimeout, requestTimeout, timeout) to ServerConfig, which enables us to configure Node.js HTTP Server's easily without having to override createServer handler.

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@enixsoft enixsoft changed the title Configure node HTTP server timeouts Configure Node HTTP server Feb 24, 2025
@enixsoft
Copy link
Contributor Author

@RomainLanz @thetutlage

Hello, can we please get this merged?

Thanks.

@thetutlage
Copy link
Member

thetutlage commented Feb 24, 2025

Can we transparently accept for the Node.js server options without creating a sub-property called node?

@enixsoft
Copy link
Contributor Author

enixsoft commented Feb 24, 2025

@thetutlage
Updated, Node.js server options are now part of the ServerConfig.

@thetutlage
Copy link
Member

Looks good πŸ‘

@thetutlage
Copy link
Member

Tests seems to be failing. Can you check the actions logs and fix it?

@enixsoft
Copy link
Contributor Author

@thetutlage
I apologize for missing this, seems to be okay now.

@thetutlage thetutlage merged commit a8e3f2b into adonisjs:7.x Feb 26, 2025
5 of 7 checks passed
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.

3 participants