wait-for-it
wait-for-it copied to clipboard
Update wait-for-it.sh
Refactor TCP host/port availability script
- Enhanced variable naming for better readability
- Simplified and improved argument parsing logic
- Improved error handling, especially around timeout logic
- Refactored functions for simplicity and maintainability
- Consistently used
nc -zfor port checking - Enhanced signal handling for better script termination
- Updated usage instructions for clarity
These changes make the script more readable, maintainable, and robust.
@archit15singh looks good.
@vishnubob ?
@vishnubob LGTM?
can we merge this please?
@archit15singh The project has been abandoned — the last commit was 5 years ago. I recommend Wait4X instead.
Oh alright. Thank you!
Starred it ⭐