Turn on NOTIFY_ENABLED by default (now that it's optimized)

This commit is contained in:
Alex Gleason 2025-01-25 01:46:31 -06:00
parent a8b8b8b427
commit b8d288868d
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -261,7 +261,7 @@ class Conf {
* This would make Nostr events inserted directly into Postgres available to the streaming API and relay. * This would make Nostr events inserted directly into Postgres available to the streaming API and relay.
*/ */
static get notifyEnabled(): boolean { static get notifyEnabled(): boolean {
return optionalBooleanSchema.parse(Deno.env.get('NOTIFY_ENABLED')) ?? false; return optionalBooleanSchema.parse(Deno.env.get('NOTIFY_ENABLED')) ?? true;
} }
/** Whether to enable Ditto cron jobs. */ /** Whether to enable Ditto cron jobs. */
static get cronEnabled(): boolean { static get cronEnabled(): boolean {