File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
modules/module-postgres-storage/src/storage
packages/service-core/src/storage Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ export class PostgresReportStorageFactory implements storage.ReportStorage {
7171 connection_report_events
7272 WHERE
7373 disconnected_at IS NULL
74- AND jwt_exp > NOW()
74+ AND jwt_exp > NOW() AT TIME ZONE 'UTC'
7575 AND connected_at >= ${ { type : 1184 , value : gt } }
7676 AND connected_at <= ${ { type : 1184 , value : lt } }
7777 ),
Original file line number Diff line number Diff line change @@ -20,6 +20,8 @@ export interface ReportStorage extends AsyncDisposable {
2020 * Get currently connected clients.
2121 * This will return any short or long term connected clients.
2222 * Clients that have no disconnected_at timestamp and that have a valid jwt_exp timestamp are considered connected.
23+ * @param data.range.start Needs to be UTC time string
24+ * @param data.range.end Optional needs to be UTC time string
2325 */
2426 getConnectedClients ( data : event_types . ClientConnectionsRequest ) : Promise < event_types . ClientConnectionReportResponse > ;
2527 /**
You can’t perform that action at this time.
0 commit comments