int(secs)*time.Second can wrap a pflag-legal MaxInt64 into a non-positive duration, which skipped the wait deadline and waited forever. Convert with an overflow check and return a validation error instead.
int(secs)*time.Second can wrap a pflag-legal MaxInt64 into a non-positive duration, which skipped the wait deadline and waited forever. Convert with an overflow check and return a validation error instead.