mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 02:01:33 +00:00
Add option to disable purging of inactive user accounts
This commit is contained in:
@@ -150,3 +150,5 @@ TELESCOPE_SCHEDULE_WATCHER=true
|
||||
HORIZON_PREFIX=horizon:
|
||||
|
||||
POSTMARK_TOKEN=
|
||||
|
||||
PURGE_INACTIVE_USERS=false;
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
2019-04-28 DariusIII
|
||||
* Chg: Add option to disable purging of inactive user accounts
|
||||
* Fix: Throw API error if apikey is missing
|
||||
* Chg: Update nesbot/carbon (2.17.0 => 2.17.1) and intervention/imagecache (2.3.3 => 2.3.4)
|
||||
2019-04-25 DariusIII
|
||||
|
||||
@@ -30,7 +30,9 @@ class Kernel extends ConsoleKernel
|
||||
$schedule->exec('php '.base_path().'/misc/testing/DB/checkUsers.php')->twiceDaily(1, 13);
|
||||
$schedule->command('telescope:prune')->daily();
|
||||
$schedule->command('horizon:snapshot')->everyFiveMinutes();
|
||||
$schedule->job(new RemoveInactiveAccounts())->daily();
|
||||
if (config('nntmux.purge_inactive_users') === true) {
|
||||
$schedule->job(new RemoveInactiveAccounts())->daily();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -22,4 +22,5 @@ return [
|
||||
'multiprocessing_max_children_override' => env('NN_MULTIPROCESSING_MAX_CHILDREN_OVERRIDE', 0),
|
||||
'multiprocessing_log_type' => env('NN_MULTIPROCESSING_LOG_TYPE', 6),
|
||||
'multiprocessing_child_output_type' => env('NN_MULTIPROCESSING_CHILD_OUTPUT_TYPE', 1),
|
||||
'purge_inactive_users' => env('PURGE_INACTIVE_USERS', false),
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user