Chat duration
Chat duration is calculated when a chat is closed. The calculation uses the following two settings:
How long an operator can wait for a message from a visitor before the time between messages is ignored (in minutes).
and
How long a visitor can wait for a message from an operator before the time between messages is ignored (in minutes).
(Code location)[https://github.com/LiveHelperChat/livehelperchat/blob/master/lhc_web/lib/core/lhchat/lhchat.php#L2032]
These settings can be found under:
System configuration -> Live help configuration -> Chat configuration -> Miscellaneous.