Spring
Spring copied to clipboard
Spring fails if given argument "-t 0"
Yes, I know it's ridiculous to tell Spring to use zero threads, but it should just immediately return an error message or change it internally to "-t 1". Instead, it just never terminates, and uses 100% CPU forever.
Good catch - thanks for informing about this - it is going into an infinite loop - let me add an error for this.
Just a quick note, I don't know if it's a convention or not but I've seen many program use --threads 0 to use all available threads, which could be useful when including SPRING in a script which needs to be run in different settings.