Bill transfer storage monthly with a 15-day grace period before deletion.
Deploy Ladill Transfer / deploy (push) Successful in 51s
Deploy Ladill Transfer / deploy (push) Successful in 51s
Files stay available while wallet renewals succeed each month. Failed renewals keep files for TRANSFER_GRACE_PERIOD_DAYS (default 15) before automatic cleanup. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+7
-3
@@ -23,9 +23,13 @@ return [
|
||||
// Max files per transfer.
|
||||
'max_files_per_transfer' => (int) env('TRANSFER_MAX_FILES', 20),
|
||||
|
||||
// Default retention when not specified (days).
|
||||
'default_retention_days' => (int) env('TRANSFER_DEFAULT_RETENTION_DAYS', 30),
|
||||
// Monthly billing cycle length (days) — storage is renewed each period while the wallet can pay.
|
||||
'billing_period_days' => (int) env('TRANSFER_BILLING_PERIOD_DAYS', 30),
|
||||
|
||||
// Retention for files uploaded via Ladill Mail (large attachments).
|
||||
// Days to keep files after a failed renewal before automatic deletion.
|
||||
'grace_period_days' => (int) env('TRANSFER_GRACE_PERIOD_DAYS', 15),
|
||||
|
||||
// Legacy env keys (billing is monthly until cancelled by non-payment + grace).
|
||||
'default_retention_days' => (int) env('TRANSFER_DEFAULT_RETENTION_DAYS', 30),
|
||||
'mail_retention_days' => (int) env('TRANSFER_MAIL_RETENTION_DAYS', 30),
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user