Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-1891

agent_expireafter default to 2 hours

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.7.0
    • Component/s: cf-execd
    • Labels:
      None

      Description

      In the code, it is initialized to the define @THREE_HOURS@, which is 10800, i.e. three hours in seconds.

      Unfortunately, the code later on is expecting minutes, so @agent_expireafter@ is essentially translated as @10800*60@, which effectively is about one week.

      Finally in the documentation, the documented default is 10080 minutes, which is a bit different to 10800 which is the real value.

      Which value do we want for @agent_expireafter@?

      • three hours?
      • one week?
      • something else?

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              a10038 jimis (Dimitrios Apostolou)
              Reporter:
              a10038 jimis (Dimitrios Apostolou)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 2 hours
                  2h
                  Remaining:
                  Not Specified
                  Logged:
                  Time Not Required
                  Not Specified