[freeside-commits] branch FREESIDE_4_BRANCH updated. b64b0ec21b4b13b37dee042ba64c234807ea426b

Ivan Kohler ivan at freeside.biz
Sat Dec 16 10:12:32 PST 2017


The branch, FREESIDE_4_BRANCH has been updated
       via  b64b0ec21b4b13b37dee042ba64c234807ea426b (commit)
      from  a8ced402afec4f9deb702fd4b056c4ff160b30a0 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit b64b0ec21b4b13b37dee042ba64c234807ea426b
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Sat Dec 16 10:12:31 2017 -0800

    clean up old RT sessions

diff --git a/FS/FS/Cron/rt_tasks.pm b/FS/FS/Cron/rt_tasks.pm
index 077f23cc6..21488762a 100644
--- a/FS/FS/Cron/rt_tasks.pm
+++ b/FS/FS/Cron/rt_tasks.pm
@@ -31,6 +31,8 @@ sub rt_daily {
   my $system = $FS::TicketSystem::system;
   return if !defined($system) || $system ne 'RT_Internal';
 
+  system('/opt/rt3/sbin/rt-clean-sessions --older 1M --skip-user &');
+
   system('/opt/rt3/sbin/rt-fulltext-indexer --quiet --limit 5400 &');
 
   # if -d or -y is in use, bail out.  There's no reliable way to tell RT 

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/Cron/rt_tasks.pm | 2 ++
 1 file changed, 2 insertions(+)




More information about the freeside-commits mailing list