diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..71d46bb --- /dev/null +++ b/.dockerignore @@ -0,0 +1,25 @@ +# version control / editor / OS +.git/ +.gitignore +.github/ +.idea/ +.vscode/ +.DS_Store + +# local SQLite + sidecars (DB lives at /data in the container) +*.db +*.db-shm +*.db-wal +*.db-journal +remote-db/ + +# secrets — provide via the orchestrator's env config, not baked into the image +.env +.env.* + +# admin / dev-only scripts (run locally, not in prod containers) +scripts/ + +# logs and caches +*.log +.cache/ diff --git a/jetstream.ts b/jetstream.ts index b302ee4..4e3caf9 100644 --- a/jetstream.ts +++ b/jetstream.ts @@ -59,7 +59,7 @@ const fireWebhooks = async ( await dispatchAll(webhooks, payload, `${verb} ${did}`); }; -const BULK_CREATE_DEBOUNCE_MS = 15000; +const BULK_CREATE_DEBOUNCE_MS = 500; type BulkBuffer = { records: Record[];