You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I'm running Botpress in production on Heroku and have connected it to a PostgreSQL database. I'm experiencing an issue where the before_session_timeout hook does not trigger if the timeoutInterval value is set to more than 1 minute.
To Reproduce
Steps to reproduce the behavior:
Create a before_session_timeout hook
Add a bp.logger.debug or console.log (whatever really just to get confirmation it was invoked or not)
Start a conversation
Let the conversation timeout (set the configuration to 2 minutes or greater)
Check the DB table dialog_sessions for confirmation the session was cleared (row deleted)
You see no logs confirming the execution of the hook
Expected behavior
If the timeout is greater than 1 minute, no event should appear in the logs after "waiting until next event"
Describe the bug
I'm running Botpress in production on Heroku and have connected it to a PostgreSQL database. I'm experiencing an issue where the
before_session_timeout
hook does not trigger if thetimeoutInterval
value is set to more than 1 minute.To Reproduce
Steps to reproduce the behavior:
Expected behavior
If the timeout is greater than 1 minute, no event should appear in the logs after
"waiting until next event"
Screenshots
botpress.config.json:
bot.config.json:
Environment:
Additional context
Is there any configuration I might be missing or any known issues related to this? Any help or guidance would be greatly appreciated.
The text was updated successfully, but these errors were encountered: