Skip to content

Commit

Permalink
Remove performance timing from FENCEAuthenticationService
Browse files Browse the repository at this point in the history
Performance timing for user login within the FENCEAuthenticationService was removed to clean up the code. This logging was unnecessary and did not contribute in any significant manner to the overall functionality.
  • Loading branch information
Gcolon021 committed May 28, 2024
1 parent b6334c4 commit 67e3754
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,6 @@ public Response getFENCEProfile(String callback_url, Map<String, String> authReq
"from the Gen3 authentication provider."+ex.getMessage());
}

// Time performance of user login.
long startTime = System.currentTimeMillis();
User current_user = null;
try {
// Create or retrieve the user profile from our database, based on the the key
Expand Down Expand Up @@ -280,7 +278,6 @@ public Response getFENCEProfile(String callback_url, Map<String, String> authReq
logger.debug("getFENCEProfile() UserProfile response object has been generated");
logger.debug("getFENCEToken() finished");

System.out.println("User login took: " + (System.currentTimeMillis() - startTime) + "ms or " + (System.currentTimeMillis() - startTime) / 1000 + "s");
return PICSUREResponse.success(responseMap);
}

Expand Down

0 comments on commit 67e3754

Please sign in to comment.