Skip to content

Commit

Permalink
Merge pull request #21457 from Expensify/ionatan_perfomancetiming_not…
Browse files Browse the repository at this point in the history
…blocking

Change SendPerformanceTiming to be a read so it is not retried and ge…
  • Loading branch information
amyevans authored Jun 26, 2023
2 parents c13b15e + 38756dd commit 5c6b751
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions src/libs/actions/Timing.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,15 @@ function end(eventName, secondaryName = '') {
return;
}

API.write('SendPerformanceTiming', {
name: grafanaEventName,
value: eventTime,
platform: `${getPlatform()}`,
});
API.read(
'SendPerformanceTiming',
{
name: grafanaEventName,
value: eventTime,
platform: `${getPlatform()}`,
},
{},
);
});
}

Expand Down

0 comments on commit 5c6b751

Please sign in to comment.