diff options
author | Ivan Kohler <ivan@freeside.biz> | 2013-11-17 17:10:17 -0800 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2013-11-17 17:10:17 -0800 |
commit | f4830f3d053be44857e1a5701b2dde2a3de0d584 (patch) | |
tree | 1cec5959b442058ad5676fde789af734fac9346f /FS/bin | |
parent | 9e92a2d4f301066b672be636e51552bbab9d0d27 (diff) |
don't redirect to a GET with sensitive data, RT#26099
Diffstat (limited to 'FS/bin')
-rw-r--r-- | FS/bin/freeside-queued | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/FS/bin/freeside-queued b/FS/bin/freeside-queued index dcc6ac4ba..2a88c5605 100644 --- a/FS/bin/freeside-queued +++ b/FS/bin/freeside-queued @@ -12,6 +12,7 @@ use FS::Record qw(qsearch); use FS::queue; use FS::queue_depend; use FS::Log; +use FS::Cron::expire_user_pref qw( expire_user_pref ); # no autoloading for non-FS classes... use Net::SSH 0.07; @@ -66,6 +67,7 @@ while (1) { if ( $kids >= $max_kids ) { warn "WARNING: maximum $kids children reached\n" unless $warnkids++; &reap_kids; + expire_user_pref() unless $warnkids % 10; sleep 1; #waiting for signals is cheap next; } @@ -131,6 +133,7 @@ while (1) { undef $FS::UID::dbh; next; }; + expire_user_pref(); sleep $sleep_time; next; } |