Skip to content

Commit

Permalink
Merge pull request #402 from microsoft/ryonsteele/5937-status-bug
Browse files Browse the repository at this point in the history
Fix fileupload status window bug and logger bug
  • Loading branch information
ryonsteele authored Dec 15, 2023
2 parents e495630 + 2ed0a8e commit 610eeba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/frontend/src/components/FileStatus/FileStatus.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,10 @@ export const FileStatus = ({ className }: Props) => {
timeframe = 24;
break;
case "7days":
timeframe = 10080;
timeframe = 168;
break;
case "30days":
timeframe = 43200;
timeframe = 720;
break;
default:
timeframe = 4;
Expand Down
1 change: 0 additions & 1 deletion functions/shared_code/status_log.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,6 @@ def update_document_state(self, document_path, status, state=State.PROCESSING):
"""Updates the state of the document in the storage"""
try:
document_id = self.encode_document_id(document_path)
logging.info(f"{state_str} DocumentID - {document_id}")
logging.info(f"{status} DocumentID - {document_id}")
if self._log_document.get(document_id, "") != "":
json_document = self._log_document[document_id]
Expand Down

0 comments on commit 610eeba

Please sign in to comment.