Description
Based on description in the docs
heartbeatTimeoutInSecond: Timeout in second to which session be orphaned
Were trying to create a session with heartbeattimeout as 10 minutes(600 s). The expectation is, if the session is idle for 10 mins, it should be killed.
However the observation is,
Since were poling for each session, calling /session/{sessionid}, the session doesnt timeout even when idle, whereas calling /session causes the session to timeout if idle.
This shouldnt be the case. internal timer should reset only when a statement is run against a session.