@openora/core 0.4.1-canary.163 → 0.4.1-canary.164

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.
@@ -59,7 +59,7 @@ export type TestRedis = {
59
59
  quit: () => Promise<void>;
60
60
  };
61
61
  /**
62
- * Connect a node-redis client selected to a per-worker logical DB (VITEST_POOL_ID % 16),
62
+ * Connect a node-redis client selected to a per-worker logical DB (VITEST_POOL_ID % REDIS_LOGICAL_DATABASE_COUNT),
63
63
  * so parallel vitest workers never collide on keys. `flush()` is a `flushDb` (safe - it
64
64
  * only clears this worker's logical DB), for tearing down between tests. `reconnectStrategy`
65
65
  * is off: node-redis otherwise retries a down server forever and hangs the run.
@@ -120,7 +120,7 @@ export async function createTestDb(migrations) {
120
120
  };
121
121
  }
122
122
  /**
123
- * Connect a node-redis client selected to a per-worker logical DB (VITEST_POOL_ID % 16),
123
+ * Connect a node-redis client selected to a per-worker logical DB (VITEST_POOL_ID % REDIS_LOGICAL_DATABASE_COUNT),
124
124
  * so parallel vitest workers never collide on keys. `flush()` is a `flushDb` (safe - it
125
125
  * only clears this worker's logical DB), for tearing down between tests. `reconnectStrategy`
126
126
  * is off: node-redis otherwise retries a down server forever and hangs the run.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openora/core",
3
- "version": "0.4.1-canary.163",
3
+ "version": "0.4.1-canary.164",
4
4
  "description": "Open-source, headless, plugin-based, AI-native iGaming framework - domain modules, plugin engine, Zod-first contracts, typed React SDK",
5
5
  "keywords": [
6
6
  "ai-native",