@ai-ecoverse/slicc-kernel 1.108.4 → 1.108.5

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.
@@ -6108,7 +6108,7 @@ function satisfies(version, range2) {
6108
6108
  }
6109
6109
 
6110
6110
  // src/version.ts
6111
- var KERNEL_VERSION = true ? "1.108.4" : "0.0.0-dev";
6111
+ var KERNEL_VERSION = true ? "1.108.5" : "0.0.0-dev";
6112
6112
  var OS_RELEASE = "6.0.0-slicc";
6113
6113
  function procVersion() {
6114
6114
  return `Linux version ${OS_RELEASE} (slicc-kernel ${KERNEL_VERSION}) #1 SMP PREEMPT_DYNAMIC
@@ -11286,12 +11286,11 @@ function attachSyncSabResponder(port, sab, token, opts) {
11286
11286
  if (disposed) return;
11287
11287
  const { status, payload } = encodeSabResult(result);
11288
11288
  drop(id2);
11289
- const entry = {
11290
- status,
11291
- payload,
11292
- timer: setTimeout(() => drop(id2), PENDING_TTL_MS)
11293
- };
11294
- pending.set(id2, entry);
11289
+ const entry = { status, payload };
11290
+ if (payload.byteLength > window.byteLength) {
11291
+ entry.timer = setTimeout(() => drop(id2), PENDING_TTL_MS);
11292
+ pending.set(id2, entry);
11293
+ }
11295
11294
  publish(id2, entry, 0);
11296
11295
  }
11297
11296
  const handler = (event) => {
@@ -12111,6 +12110,8 @@ var AsyncRangedFile = class {
12111
12110
 
12112
12111
  // src/realm/sync-sab-bridge.ts
12113
12112
  var PATH_OPS = new Set(SYNC_FS_OPS);
12113
+ var SPIN_CORES = 4;
12114
+ var spinning = (globalThis.navigator?.hardwareConcurrency ?? 0) >= SPIN_CORES;
12114
12115
 
12115
12116
  // src/realm/live-vfs-fs.ts
12116
12117
  var EARLY_WHOLE_FILE = 64 * 1024;