Changeset 6253


Ignore:
Timestamp:
Mar 14, 2013, 3:48:27 PM (10 years ago)
Author:
Nicklas Nordborg
Message:

Fixes #1748: Job agents should disable the db.cleanup.interval setting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2-stable/src/clients/jobagent/net/sf/basedb/clients/jobagent/Agent.java

    r5827 r6253  
    4343import net.sf.basedb.clients.jobagent.slotmanager.SlotManager;
    4444import net.sf.basedb.core.Application;
     45import net.sf.basedb.core.Config;
    4546import net.sf.basedb.core.DbControl;
    4647import net.sf.basedb.core.InvalidDataException;
     
    882883    {
    883884      log.info("Starting BASE application");
     885      // Disable database cleanup script, it is only needed on the web client
     886      Config.setProperty("db.cleanup.interval", "0");
    884887      Application.start(false);
    885888      sc = Application.newSessionControl("net.sf.basedb.clients.jobagent",
Note: See TracChangeset for help on using the changeset viewer.