Skip to content

Commit

Permalink
reduced interval to 2 mins for duplicates (#1487)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rajandeep98 authored Nov 14, 2023
1 parent 4c9371d commit eec680b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/namex/VERSION.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.1.37'
__version__ = '1.1.38'
2 changes: 1 addition & 1 deletion api/namex/models/request.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ def find_existing_name_by_user(cls, user_name_search_string, email):
#Check if status of request is in pending payment state (payment failed/stuck) within 5 mins
#check if status of request is in draft (payment successful/request in for name examination)
(Request.stateCd == 'DRAFT') | (Request.stateCd == 'PENDING_PAYMENT'),
(Request.submittedDate >= current_time - timedelta(minutes=5)),
(Request.submittedDate >= current_time - timedelta(minutes=2)),
(Request.nameSearch == ('('+user_name_search_string+')')) | ( Request.nameSearch == user_name_search_string )). \
one_or_none()

Expand Down

0 comments on commit eec680b

Please sign in to comment.