mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
fix: harden Docker image and async job responses
Harden Docker runtime packaging, preserve async job response semantics, fix Redis subscriber startup connections, clear lint warnings, and harden enterprise S3 object body handling.
This commit is contained in:
@@ -95,8 +95,8 @@ const CHANNEL = async () => {
|
||||
|
||||
/** Subscribe so a setting change on any replica refreshes this process's cache. */
|
||||
export async function startAnalyticsGateListener(): Promise<void> {
|
||||
const { createRedisConnection } = await import("../jobs/connection.js");
|
||||
gateSubscriber = createRedisConnection();
|
||||
const { createRedisSubscriberConnection } = await import("../jobs/connection.js");
|
||||
gateSubscriber = createRedisSubscriberConnection();
|
||||
gateSubscriber.on("error", (err) => console.error("Analytics gate subscriber error", err));
|
||||
await gateSubscriber.subscribe(await CHANNEL());
|
||||
gateSubscriber.on("message", () => {
|
||||
|
||||
Reference in New Issue
Block a user