diff --git a/src/share/io/ob_io_struct.h b/src/share/io/ob_io_struct.h index a1ee2e54de0de12dcadec6cfd6bce6b9371ee920..51f09c83ab7741dbbadc004b018ba586264fb5c3 100644 --- a/src/share/io/ob_io_struct.h +++ b/src/share/io/ob_io_struct.h @@ -312,7 +312,7 @@ private: private: static const int32_t MAX_AIO_EVENT_CNT = 512; - static const int64_t AIO_POLLING_TIMEOUT_NS = 1000L * 1000L * 1000L; //1s + static const int64_t AIO_POLLING_TIMEOUT_NS = 1000L * 1000L * 1000L - 1L; // almost 1s, for timespec_valid check ObIOContext *io_context_; ObIOEvents *io_events_; struct timespec polling_timeout_;