Use trace log level for potentially high-volume vsync duration log (#36147)

This is an attempt to fix
https://github.com/zed-industries/zed/issues/36125

Release Notes:

- N/A
This commit is contained in:
Max Brunsfeld
2025-08-13 14:45:34 -07:00
committed by GitHub
parent 8452532c8f
commit 09e90fb023
+1 -1
View File
@@ -99,7 +99,7 @@ impl VSyncProvider {
// operation for the first call after the vsync thread becomes non-idle,
// but it shouldn't happen often.
if !wait_succeeded || elapsed < VSYNC_INTERVAL_THRESHOLD {
log::warn!("VSyncProvider::wait_for_vsync() took shorter than expected");
log::trace!("VSyncProvider::wait_for_vsync() took less time than expected");
std::thread::sleep(self.interval);
}
}