You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kvrocks.apache.org by "mapleFU (via GitHub)" <gi...@apache.org> on 2023/09/03 06:08:16 UTC

[GitHub] [kvrocks] mapleFU commented on pull request #1729: Replace the random char seed to global rand to avoid collision

mapleFU commented on PR #1729:
URL: https://github.com/apache/kvrocks/pull/1729#issuecomment-1704021533

   ```go
   func RandString(min, max int, typ RandStringType) string {
   	return RandStringWithSeed(min, max, typ, rand.Int63())
   }
   ```
   
   The change LGTM, however, would it better to change `RandString` as above?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@kvrocks.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org