Skip to main content

migration_lock_key

Function migration_lock_key 

Source
pub fn migration_lock_key() -> i64
Expand description

Returns the advisory lock key used to prevent concurrent migrations. This is computed as XxHash64 of “SPAWN_MIGRATION_LOCK” with seed 1234, cast to i64.