Fix checkTimeLimit definition.

This commit is contained in:
Yarik Briukhovetskyi 2024-10-31 12:51:38 +01:00 committed by GitHub
parent 6c7305e447
commit efe8df1b46
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -29,7 +29,7 @@ public:
void throttle(size_t read_rows, size_t read_bytes, size_t total_rows_to_read, UInt64 total_elapsed_microseconds,
OverflowMode timeout_overflow_mode) const;
bool checkTimeLimit(const Stopwatch & stopwatch, OverflowMode overflow_mode) const;
bool checkTimeLimit(const UInt64 & elapsed_ns, OverflowMode overflow_mode) const;
};
}