diff options
Diffstat (limited to 'innobase/include/btr0sea.h')
-rw-r--r-- | innobase/include/btr0sea.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/innobase/include/btr0sea.h b/innobase/include/btr0sea.h index c319e16d740..fdf5cf375a3 100644 --- a/innobase/include/btr0sea.h +++ b/innobase/include/btr0sea.h @@ -262,6 +262,12 @@ index */ #define BTR_SEARCH_ON_HASH_LIMIT 3 +/* We do this many searches before trying to keep the search latch over calls +from MySQL. If we notice someone waiting for the latch, we again set this +much timeout. This is to reduce contention. */ + +#define BTR_SEA_TIMEOUT 10000 + #ifndef UNIV_NONINL #include "btr0sea.ic" #endif |