kv_config_set_lob_timeout()

#include <kvstore.h>

kv_error_t 
kv_config_set_lob_timeout(kv_config_t *config, 
                          kv_timeout_t timeout_ms); 

Sets the default timeout value associated with chunk access during Large Object operations. LOBs are read from the store in chunks, and each such chunk must be retrieved within the timeout period defined by this function or an error is returned on the read attempt.

Parameters

  • config

    The config parameter points to the configuration structure for which you want to set the chunk timeout value.

  • timeout_ms

    The timeout_ms parameter is the timeout in milliseconds used for LOB chunk reads.