[nextgen/cardstack] lower default timeout to 3 minutes

This commit is contained in:
bignutty 2025-02-22 16:35:32 +01:00
parent e4c0934d8e
commit c969754ca8
3 changed files with 21 additions and 2 deletions

View file

@ -56,7 +56,7 @@ class DynamicCardStack {
this.interactive_components = options.interactive || {};
this.index = options.startingIndex || 0;
this.loopPages = options.loop || true;
this.expires = options.expires || 5 * 60 * 1000;
this.expires = options.expires || 3 * 60 * 1000;
this.pageNumbers = options.pageNumbers || true;
this.pageNumberGenerator = options.pageNumberGenerator || ((pg) => `Page ${pg.index + 1}/${pg.activeCardStack.length}`);
this.disableCloning = options.disableCloning || false;