IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 40841 for trunk/ippMonitor


Ignore:
Timestamp:
Jul 23, 2019, 2:36:56 PM (7 years ago)
Author:
tdeboer
Message:

make table optimising the default option

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippMonitor/czartool/czarpoll.pl

    r40840 r40841  
    294294
    295295                # now cleanup tables from yesterday and optimize
    296                 #TdB20190703: The ipp113 and ipp117 instances of czarpoll use the same stage DBs in czarDB.
    297                 #Therefore, it makes no sense to run the cleanup+optimising twice
    298                 #print "* Performing database cleanup\n";
    299                 #$czarDb->cleanupDateRange($yesterday, $yesterday, $config->getCzarCleanupInterval());
    300                 #print "* Optimizing the database\n";
    301                 #$czarDb->optimize();
     296                print "* Performing database cleanup\n";
     297                $czarDb->cleanupDateRange($yesterday, $yesterday, $config->getCzarCleanupInterval());
     298                print "* Optimizing the database\n";
     299                $czarDb->optimize();
    302300                $lastDayDailyTasks = $yesterday;
    303301            }
Note: See TracChangeset for help on using the changeset viewer.