Skip to content

Commit 0933414

Browse files
committed
Increase default timeout on token create to prevent excessive timeout errors.
1 parent 549daf0 commit 0933414

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.MD

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Changed
11+
12+
- [JHP-115]: Increase default timeout on token create to prevent excessive timeout errors.
13+
1014
## [1.3.0] - 2024-10-22
1115

1216
### Added

src/main/resources/META-INF/resources/scripts/xnat/plugin/jupyterhub/jupyterhub-users.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ XNAT.plugin.jupyterhub.users.tokens = getObject(XNAT.plugin.jupyterhub.users.tok
273273
note: "XNAT.plugin.jupyterhub.users.tokens.create",
274274
expires_in: 172800 // 2 days in seconds
275275
},
276-
timeout = 375) {
276+
timeout = 8000) {
277277
console.debug(`jupyterhub-users.js: XNAT.plugin.jupyterhub.users.tokens.create`);
278278

279279
let username = token['username'];

0 commit comments

Comments
 (0)