Skip to content

Commit

Permalink
change max length of user name to 39 (#2856)
Browse files Browse the repository at this point in the history
* fix bug: send task result to master until success.

* fix bug: send task result to master until success.

* add sleep

* set null if send result failed

* set null if send result failed

* change max length of username to 39

Co-authored-by: baoliang <baoliang@analysys.com.cn>
  • Loading branch information
lenboo and baoliang authored Jun 1, 2020
1 parent 3cbe865 commit 41e4986
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ private Constants() {
/**
* user name regex
*/
public static final Pattern REGEX_USER_NAME = Pattern.compile("^[a-zA-Z0-9._-]{3,20}$");
public static final Pattern REGEX_USER_NAME = Pattern.compile("^[a-zA-Z0-9._-]{3,39}$");

/**
* email regex
Expand Down

0 comments on commit 41e4986

Please sign in to comment.