Skip to content
Snippets Groups Projects
Commit 13592450 authored by Georgy Moshkin's avatar Georgy Moshkin :speech_balloon:
Browse files

fix: change DiscoveryMode::default to On and add doc comment

parent e5b61545
No related branches found
No related tags found
1 merge request!299Feat/poor mans vshard
......@@ -99,9 +99,15 @@ pub mod cfg {
#[derive(Default, Copy, Clone, Debug, PartialEq, Eq)]
#[derive(tlua::PushInto, tlua::Push, tlua::LuaRead)]
/// Specifies the mode of operation for the bucket discovery fiber of vshard
/// router.
///
/// See [`vshard.router.discovery_set`] for more details.
///
/// [`vshard.router.discovery_set`]: https://www.tarantool.io/en/doc/latest/reference/reference_rock/vshard/vshard_router/#router-api-discovery-set
pub enum DiscoveryMode {
#[default]
Off,
#[default]
On,
Once,
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment