Skip to content

Commit

Permalink
introduce delay in getting current user id
Browse files Browse the repository at this point in the history
  • Loading branch information
phantumcode committed Sep 21, 2023
1 parent a4ef536 commit fb7710b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ public class AWSCloudWatchLoggingPlugin: LoggingCategoryPlugin {
localStore.reset()
}

DispatchQueue.main.async {
DispatchQueue.main.asyncAfter(deadline: .now() + .milliseconds(500)) {
self.loggingClient.takeUserIdentifierFromCurrentUser()
}
}
Expand Down

0 comments on commit fb7710b

Please sign in to comment.