dirsql 0.4.88 → 0.4.90
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.
|
@@ -112,4 +112,4 @@ Row values serialize as in [`POST /query`](#value-serialization).
|
|
|
112
112
|
|---|---|
|
|
113
113
|
| `200` | Stream opened (`text/event-stream`). |
|
|
114
114
|
| `405` | `POST /events`. Plain-text body `method not allowed`. |
|
|
115
|
-
| `503` | The server is in [degraded mode](./cli.md#degraded-mode). JSON `{"error": …}` body. |
|
|
115
|
+
| `503` | The server is in [degraded mode](./cli.md#degraded-mode), or its filesystem watcher failed to start (for example, the inotify limit is exhausted). JSON `{"error": …}` body; for a watcher failure the message starts `filesystem watcher failed to start:` and gives the reason. `POST /query` keeps working. |
|
package/docs/reference/sdk.md
CHANGED
|
@@ -301,6 +301,10 @@ under the root. The watcher starts on first iteration (Python/TypeScript)
|
|
|
301
301
|
or at the `watch()` call (Rust). The stream never terminates on its own;
|
|
302
302
|
stop consuming it to stop.
|
|
303
303
|
|
|
304
|
+
Python: each `watch()` call returns an independent stream, and every stream
|
|
305
|
+
on one instance receives every event observed after it was created, so
|
|
306
|
+
several consumers (one per client, say) can share one instance.
|
|
307
|
+
|
|
304
308
|
Rust: `watch()` may be called once per instance and is mutually exclusive
|
|
305
309
|
with the polling API below — mixing them returns an error, since both drain
|
|
306
310
|
the same underlying filesystem watcher.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dirsql",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.90",
|
|
4
4
|
"description": "Ephemeral SQL index over a local directory",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": "https://github.com/thekevinscott/dirsql",
|
|
@@ -221,10 +221,10 @@
|
|
|
221
221
|
]
|
|
222
222
|
},
|
|
223
223
|
"optionalDependencies": {
|
|
224
|
-
"@dirsql/lib-linux-x64-gnu": "0.4.
|
|
225
|
-
"@dirsql/lib-linux-arm64-gnu": "0.4.
|
|
226
|
-
"@dirsql/lib-darwin-x64": "0.4.
|
|
227
|
-
"@dirsql/lib-darwin-arm64": "0.4.
|
|
228
|
-
"@dirsql/lib-win32-x64-msvc": "0.4.
|
|
224
|
+
"@dirsql/lib-linux-x64-gnu": "0.4.90",
|
|
225
|
+
"@dirsql/lib-linux-arm64-gnu": "0.4.90",
|
|
226
|
+
"@dirsql/lib-darwin-x64": "0.4.90",
|
|
227
|
+
"@dirsql/lib-darwin-arm64": "0.4.90",
|
|
228
|
+
"@dirsql/lib-win32-x64-msvc": "0.4.90"
|
|
229
229
|
}
|
|
230
230
|
}
|