File tree 2 files changed +3
-0
lines changed
2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -773,6 +773,7 @@ size_t IoContext::getTimeoutCount() {
773
773
774
774
kj::Date IoContext::now (IncomingRequest& incomingRequest) {
775
775
kj::Date adjustedTime = incomingRequest.ioChannelFactory ->getTimer ().now ();
776
+ incomingRequest.metrics ->clockRead ();
776
777
777
778
KJ_IF_SOME (maybeNextTimeout, timeoutManager->getNextTimeout ()) {
778
779
// Don't return a time beyond when the next setTimeout() callback is intended to run. This
Original file line number Diff line number Diff line change @@ -70,6 +70,8 @@ class RequestObserver: public kj::Refcounted {
70
70
virtual void finishedWaitUntilTask () {}
71
71
72
72
virtual void setFailedOpen (bool value) {}
73
+
74
+ virtual uint64_t clockRead () { return 0 ; }
73
75
};
74
76
75
77
class IsolateObserver : public kj ::AtomicRefcounted, public jsg::IsolateObserver {
You can’t perform that action at this time.
0 commit comments