mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-19 22:20:37 +00:00
fixup
This commit is contained in:
@@ -587,7 +587,7 @@ impl PageServerHandler {
|
||||
return Err(QueryError::Shutdown)
|
||||
}
|
||||
msg = pgb.read_message() => { break msg; }
|
||||
() = futures::future::ready(()) => {
|
||||
() = futures::future::ready(()), if num_consecutive_getpage_requests > 0 => {
|
||||
CONSECUTIVE_NONBLOCKING_GETPAGE_REQUESTS_HISTOGRAM.observe(num_consecutive_getpage_requests as f64);
|
||||
num_consecutive_getpage_requests = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user