Skip to content

Commit

Permalink
fix(core): change default timeout (#11562)
Browse files Browse the repository at this point in the history
* fix(core): change default timeout

* fix bot timeout
  • Loading branch information
allardy committed Mar 1, 2022
1 parent fe9f580 commit 7d7f84f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/bp/src/core/config/bot.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export interface BotDialogConfig {
/**
* The interval until the context of the session expires.
* This clears the position of the user in the flow and triggers the before_session_timeout hook
* @default 5m
* @default 25m
*/
timeoutInterval: string
/**
Expand Down
2 changes: 1 addition & 1 deletion packages/bp/src/core/config/botpress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export interface DialogConfig {
* Interval before a session's context expires.
* e.g. when the conversation is stale and has not reached the END of the flow.
* This will reset the position of the user in the flow.
* @default 2m
* @default 25m
*/
timeoutInterval: string
/**
Expand Down

0 comments on commit 7d7f84f

Please sign in to comment.