[freeside-commits] branch FREESIDE_3_BRANCH updated. 793766b8e51bf0bf4c61cbb0fb613d746db3b4fa

Ivan Kohler ivan at freeside.biz
Mon Oct 15 09:24:09 PDT 2018


The branch, FREESIDE_3_BRANCH has been updated
       via  793766b8e51bf0bf4c61cbb0fb613d746db3b4fa (commit)
       via  342650d7d4d9e4aafa5c749cff39561a1c5a993a (commit)
      from  e07e59d2463eae2cdd421401a2d98f3879dc97f3 (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 793766b8e51bf0bf4c61cbb0fb613d746db3b4fa
Merge: 342650d7d e07e59d24
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Mon Oct 15 09:24:05 2018 -0700

    Merge branch 'FREESIDE_3_BRANCH' of git.freeside.biz:/home/git/freeside into FREESIDE_3_BRANCH


commit 342650d7d4d9e4aafa5c749cff39561a1c5a993a
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Sat Dec 16 10:12:28 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