@tmlmobilidade/databases 20260326.1644.50 → 20260326.2139.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -85,7 +85,7 @@ export class GOClickHouseClient {
85
85
  sshOptions: {
86
86
  agent: process.env.SSH_AUTH_SOCK,
87
87
  host: process.env.GO_CLICKHOUSE_TUNNEL_SSH_HOST,
88
- keepaliveCountMax: 3,
88
+ keepaliveCountMax: 20,
89
89
  keepaliveInterval: 10_000,
90
90
  port: 22,
91
91
  username: process.env.GO_CLICKHOUSE_TUNNEL_SSH_USERNAME,
@@ -4,6 +4,7 @@ import { type SimplifiedVehicleEvent } from '@tmlmobilidade/types';
4
4
  declare class SimplifiedVehicleEventsNewClass extends ClickHouseInterfaceTemplate<SimplifiedVehicleEvent> {
5
5
  private static _instance;
6
6
  readonly databaseName = "operation";
7
+ readonly orderBy = "(created_at, trip_id)";
7
8
  readonly schema: ClickHouseColumn<{
8
9
  _id: string;
9
10
  created_at: number & {
@@ -28,6 +28,7 @@ class SimplifiedVehicleEventsNewClass extends ClickHouseInterfaceTemplate {
28
28
  //
29
29
  static _instance = null;
30
30
  databaseName = 'operation';
31
+ orderBy = '(created_at, trip_id)';
31
32
  schema = tableSchema;
32
33
  tableName = 'simplified_vehicle_events';
33
34
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tmlmobilidade/databases",
3
- "version": "20260326.1644.50",
3
+ "version": "20260326.2139.30",
4
4
  "author": {
5
5
  "email": "iso@tmlmobilidade.pt",
6
6
  "name": "TML-ISO"