diff --git a/api/public/swagger.yaml b/api/public/swagger.yaml index c006b26..243f5a0 100644 --- a/api/public/swagger.yaml +++ b/api/public/swagger.yaml @@ -1859,7 +1859,8 @@ paths: application/json: schema: $ref: '#/components/schemas/SessionState' - summary: "Get session state (initialising, pending, running, completed, failed).\nPolling session state won't work in a load-balanced situation." + description: "The polling endpoint is currently implemented for single-server deployments only.
\nLoad balanced / grid topologies will be supported in a future release.
\nIf your site requires this, please reach out to SASjs Support." + summary: 'Get session state (initialising, pending, running, completed, failed).' tags: - Session security: diff --git a/api/src/controllers/session.ts b/api/src/controllers/session.ts index c2acea4..e4cfdf5 100644 --- a/api/src/controllers/session.ts +++ b/api/src/controllers/session.ts @@ -30,8 +30,10 @@ export class SessionController { } /** + * The polling endpoint is currently implemented for single-server deployments only.
+ * Load balanced / grid topologies will be supported in a future release.
+ * If your site requires this, please reach out to SASjs Support. * @summary Get session state (initialising, pending, running, completed, failed). - * Polling session state won't work in a load-balanced situation. * @example completed */ @Get('/:sessionId/state')