This repository was archived by the owner on Jul 31, 2023. It is now read-only.
Commit cd9ae5c
authored
Remove call to time.Now() on worker thread when handling record reqs (#1210)
Time is already recorded on the client side and stored in the currently unused recordReq.t
field. Avoiding these repeated calls to time.Now while the worker is blocked can significantly
reduce worker contention.1 parent 46dfec7 commit cd9ae5c
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
166 | | - | |
| 166 | + | |
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
| |||
0 commit comments