ssb: Add a setting to periodically clean up un-followed feeds. #80
Some checks failed
Build Tilde Friends / Build-All (push) Failing after 16m5s
Some checks failed
Build Tilde Friends / Build-All (push) Failing after 16m5s
This commit is contained in:
@ -350,7 +350,14 @@ static JSValue _util_defaultGlobalSettings(JSContext* context, JSValueConst this
|
||||
{ .name = "room_name", .type = "string", .description = "Name of the room.", .default_value = JS_NewString(context, "tilde friends tunnel") },
|
||||
{ .name = "seeds_host", .type = "string", .description = "Hostname for seed connections.", .default_value = JS_NewString(context, "seeds.tildefriends.net") },
|
||||
{ .name = "account_registration", .type = "boolean", .description = "Allow registration of new accounts.", .default_value = JS_TRUE },
|
||||
{ .name = "replication_hops", .type = "integer", .description = "Number of hops to replicate (1 = direct follows, 2 = follows of follows, etc.).", .default_value = JS_NewInt32(context, 2) },
|
||||
{ .name = "replication_hops",
|
||||
.type = "integer",
|
||||
.description = "Number of hops to replicate (1 = direct follows, 2 = follows of follows, etc.).",
|
||||
.default_value = JS_NewInt32(context, 2) },
|
||||
{ .name = "delete_stale_feeds",
|
||||
.type = "boolean",
|
||||
.description = "Periodically delete feeds that visible from local accounts and related follows.",
|
||||
.default_value = JS_FALSE },
|
||||
};
|
||||
|
||||
JSValue settings = JS_NewObject(context);
|
||||
|
Reference in New Issue
Block a user