Steve Yegge
349b892123
Harden event-driven daemon for production
...
Three critical fixes to make event-driven mode production-ready:
1. Skip redundant imports: Check JSONL mtime vs DB mtime to avoid
self-triggered import loops after export writes JSONL
2. Add server.Stop() in serverErrChan case: Ensures clean RPC
server shutdown on errors
3. Fallback ticker (60s): When file watcher unavailable (e.g., network
filesystems), fall back to periodic polling to detect remote changes
These minimal fixes address Oracle's concerns without over-engineering.
Event-driven mode is now safe for default.
Amp-Thread-ID: https://ampcode.com/threads/T-a9a67394-37ca-4b79-aa23-c5c011f9c0cd
Co-authored-by: Amp <amp@ampcode.com >
2025-10-31 20:18:05 -07:00
..
2025-10-31 00:19:42 -07:00
2025-10-31 18:40:32 -07:00
2025-10-31 15:12:01 -07:00
2025-10-31 18:40:32 -07:00
2025-10-31 01:07:42 -07:00
2025-10-27 20:08:50 -07:00
2025-10-26 22:31:24 -07:00
2025-10-30 15:41:46 -07:00
2025-10-31 18:40:32 -07:00
2025-10-26 21:55:01 -07:00
2025-10-30 14:42:08 -07:00
2025-10-27 20:08:50 -07:00
2025-10-29 12:32:27 -07:00
2025-10-29 22:55:13 -07:00
2025-10-31 20:18:05 -07:00
2025-10-26 22:48:19 -07:00
2025-10-29 15:30:47 -07:00
2025-10-29 15:53:41 -07:00
2025-10-29 11:47:40 -07:00
2025-10-29 22:55:13 -07:00
2025-10-31 20:18:05 -07:00
2025-10-31 18:40:32 -07:00
2025-10-26 22:48:19 -07:00
2025-10-26 22:48:19 -07:00
2025-10-31 15:11:29 -07:00
2025-10-31 15:11:29 -07:00
2025-10-28 19:46:12 -07:00
2025-10-26 22:31:24 -07:00
2025-10-31 11:41:13 -07:00
2025-10-31 11:41:13 -07:00
2025-10-31 19:51:44 -07:00
2025-10-27 20:00:49 -07:00
2025-10-29 21:57:15 -07:00
2025-10-26 23:06:03 -07:00
2025-10-29 21:57:15 -07:00
2025-10-27 20:45:59 -07:00
2025-10-27 22:44:40 -07:00
2025-10-31 01:07:42 -07:00
2025-10-27 20:00:49 -07:00
2025-10-30 22:24:42 -07:00
2025-10-31 01:07:42 -07:00
2025-10-31 01:07:42 -07:00
2025-10-27 20:08:50 -07:00
2025-10-31 01:38:29 -07:00
2025-10-27 20:00:49 -07:00
2025-10-26 20:17:48 -07:00
2025-10-31 01:07:42 -07:00
2025-10-26 22:31:24 -07:00
2025-10-31 14:36:20 -07:00
2025-10-26 22:31:24 -07:00
2025-10-28 11:34:27 -07:00
2025-10-31 17:17:33 -07:00
2025-10-31 11:41:13 -07:00
2025-10-27 20:08:50 -07:00
2025-10-27 20:00:49 -07:00
2025-10-31 14:36:20 -07:00
2025-10-30 16:28:13 -07:00
2025-10-30 16:28:13 -07:00
2025-10-30 21:51:39 -07:00
2025-10-31 17:26:37 -07:00
2025-10-27 20:21:34 -07:00
2025-10-31 18:12:40 -07:00
2025-10-27 20:08:50 -07:00
2025-10-31 18:15:13 -07:00
2025-10-27 22:59:19 -07:00
2025-10-27 18:31:01 +00:00
2025-10-30 22:24:42 -07:00
2025-10-26 22:31:24 -07:00
2025-10-31 14:36:20 -07:00
2025-10-29 12:56:51 -07:00
2025-10-29 12:56:51 -07:00
2025-10-31 19:44:43 -07:00
2025-10-26 22:48:19 -07:00
2025-10-31 14:36:20 -07:00
2025-10-27 20:38:13 -07:00
2025-10-31 19:44:43 -07:00
2025-10-31 01:25:05 -07:00
2025-10-27 20:08:50 -07:00
2025-10-31 19:44:43 -07:00
2025-10-31 19:37:18 -07:00
2025-10-31 01:47:54 -07:00