Uploaded image for project: 'Directory ApacheDS'
  1. Directory ApacheDS
  2. DIRSERVER-1840

Wrong default duration for ads-repllogmaxidle

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-M11
    • Fix Version/s: 2.0.0-M13
    • Component/s: None
    • Labels:
      None

      Description

      org.apache.directory.server.ldap.replication.provider.ReplicaEventLog.java:118

      public static final int DEFAULT_MAX_IDLE_PERIOD = 2 * 24 * 60;

      The description says:
      /** the duration(in seconds) of consumer inactivity after which this log will be deleted. Defaults to 172800 seconds (i.e. 2 days) */

      should probably be:
      public static final int DEFAULT_MAX_IDLE_PERIOD = 2 * 24 * 60 * 60;

      Also present in actual svn trunk.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              michael_simon Michael Simon
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: