Add documentation

This commit is contained in:
mlemesle 2022-09-07 18:16:33 +02:00
parent 135499f398
commit 5a4f1508d0
2 changed files with 9 additions and 0 deletions

View file

@ -59,6 +59,7 @@ pub struct SchedulerConfig {
}
impl IndexerOpts {
/// Exports the values to their corresponding env vars if they are not set.
pub fn export_to_env(self) {
if let Some(max_indexing_memory) = self.max_indexing_memory.0 {
export_to_env_if_not_present(