Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 0.2
    • Fix Version/s: None
    • Component/s: Core
    • Labels:
      None

      Description

      For now it seems timeout in Session is just for a minimum value of timeout. I don't think we should hard code the minimum value of timeout as it would make it difficult to do session timeout testing. I think we can just make 1 hour as the default timeout and user can set whatever value they want through livy.server.session.timeout

          def expired(session: Session): Boolean = {
            val currentTime = System.nanoTime()
            currentTime - session.lastActivity > math.max(sessionTimeout, session.timeout)
          }
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ajbozarth Alex Bozarth
                Reporter:
                zjffdu zjffdu
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: