mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
Merge remote-tracking branch 'origin/main' into eva/relay-membership-cache
* origin/main: feat(relay): raise hosted community limit to five (#3829) Signed-off-by: npub1qyvc0c5kl4gqv2fd97fsk46tu378sqgy35vc83rvgfwne90sel7s0ed67d <011987e296fd5006292d2f930b574be47c7801048d1983c46c425d3c95f0cffd@buzz.block.builderlab.xyz> Co-authored-by: tlongwell-block <109685178+tlongwell-block@users.noreply.github.com> Signed-off-by: tlongwell-block <109685178+tlongwell-block@users.noreply.github.com>
This commit is contained in:
co-authored by
tlongwell-block
commit
0d0cbf824d
@@ -376,7 +376,7 @@ pub enum TransferResult {
|
||||
/// Default maximum number of communities a single pubkey can own. Enforced at
|
||||
/// the relay layer — the authoritative layer — so that concurrent transfers or
|
||||
/// transfer-vs-create races cannot both pass a preflight count.
|
||||
pub const MAX_COMMUNITIES_PER_OWNER: i64 = 3;
|
||||
pub const MAX_COMMUNITIES_PER_OWNER: i64 = 5;
|
||||
|
||||
/// Effective per-owner community limit for this deployment.
|
||||
///
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { invoke } from "@tauri-apps/api/core";
|
||||
|
||||
export const HOSTED_COMMUNITY_SUFFIX = "communities.buzz.xyz";
|
||||
export const HOSTED_COMMUNITY_LIMIT = 3;
|
||||
export const HOSTED_COMMUNITY_LIMIT = 5;
|
||||
export const VALID_HOSTED_COMMUNITY_NAME = /^[a-z0-9]+(?:-[a-z0-9]+)*$/;
|
||||
|
||||
export type BuilderlabAuth = {
|
||||
|
||||
Reference in New Issue
Block a user