Skip to content

Commit

Permalink
UHF-10737: Set system.file:temporary_maximum_age to 6 hours
Browse files Browse the repository at this point in the history
This value was copied from rekry and seems reasonable enough
  • Loading branch information
hyrsky committed Dec 18, 2024
1 parent b0e2329 commit 8f2faa2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions helfi_azure_fs.install
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ function helfi_azure_fs_install($is_syncing) : void {
])
->set('make_unused_managed_files_temporary', TRUE)
->save();

// 6 hours.
\Drupal::configFactory()->getEditable('system.file')
->set('temporary_maximum_age', 21600)
->save();
}

/**
Expand Down

0 comments on commit 8f2faa2

Please sign in to comment.