Skip to content

Commit

Permalink
fix: remove consumer name limit length (#54)
Browse files Browse the repository at this point in the history
* fix: remove consumer name limit length
  • Loading branch information
debajyoti-truefoundry authored Dec 18, 2023
1 parent 69fce35 commit 1419c7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion async_processor/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ class NATSInputConfig(InputConfig):
nats_url: Union[str, List[str]]
auth: Optional[NATSUserPasswordAuth] = None
root_subject: constr(regex=r"^[a-zA-Z0-9][a-zA-Z0-9\-.]+[a-zA-Z0-9]$")
consumer_name: constr(regex=r"^[a-zA-Z0-9\-_]{1,32}$")
consumer_name: constr(regex=r"^[a-zA-Z0-9][a-zA-Z0-9\-_]+[a-zA-Z0-9]$")
wait_time_seconds: confloat(ge=5) = 5

def to_input(self) -> Input:
Expand Down

0 comments on commit 1419c7f

Please sign in to comment.