Skip to main content

shard_session

Function shard_session 

Source
pub fn shard_session(
    file: &str,
    max_requests: Option<usize>,
    max_size: Option<String>,
    output_dir: Option<&str>,
    update_index: bool,
    workspace: Option<&str>,
    dry_run: bool,
    no_backup: bool,
) -> Result<()>
Expand description

Shard a single session file.

max_requests and max_size are mutually exclusive; if both are None the default is 50 requests per shard.