Skip to content

Setting domain session_expiration_time has no effect #11061

Closed
@dgradwell-ams

Description

h3. Rasa Open Source version

3.1.0

h3. Rasa SDK version

No response

h3. Rasa X version

No response

h3. Python version

3.9

h3. What operating system are you using?

Linux

h3. What happened?

Since version 3.1.0, my preference for session_expiration_time (0) under session_config in the domain doesn't seem to be working anymore. The value is always being set to 60, the default.

I've confirmed that this is the actual value in three ways,

Inspecting the result of the API call to [get the domain| https://rasa.com/docs/rasa/pages/http-api#operation/getDomain] of the running bot

Extracting the trained model archive and inspecting the merged domain therein, and

Every 60 minutes of actual inactivity on my session, action_session_start is invoked

This happens whether my domain is contained in a single file or split into multiple files in a directory. I've tried deleting the trained models and the .rasa cache directory and retraining the model to no avail.

Thing is, we have overridden the action_session_start in our project, and it has considerable side effects in our app that are only meant to be run once for each conversation. We cannot call it again -- we don't want sessions to expire.

h3. Command / Request

No response

h3. Relevant log output

No response

h3. Reproduction repository

[https://github.com/dgradwell-ams/rasa-issue-11061| https://github.com/dgradwell-ams/rasa-issue-11061]

Metadata

Assignees

No one assigned

    Labels

    area:rasa-oss 🎡Anything related to the open source Rasa framework

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions