mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
Turn on NOTIFY_ENABLED by default (now that it's optimized)
This commit is contained in:
parent
a8b8b8b427
commit
b8d288868d
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue