-
Notifications
You must be signed in to change notification settings - Fork 117
Review limitatinos for forum #3676
Copy link
Copy link
Closed
Labels
Description
Background
There is uncertainty around meaning and utility of MaxCategories
/// Upper bounds for storage maps and double maps. Needed to prevent potential block exhaustion during deletion, etc.
/// MaxSubcategories, and MaxCategories should be reasonably small because when the category is deleted
/// all of it's subcategories with their threads and posts will be iterated over and deleted.
pub trait StorageLimits {
/// Maximum direct subcategories in a category
type MaxSubcategories: Get<u64>;
/// Maximum moderator count for a single category
type MaxModeratorsForCategory: Get<u64>;
/// Maximum total of all existing categories
type MaxCategories: Get<u64>;
/// Maximum number of poll alternatives
type MaxPollAlternativesNumber: Get<u64>;
}
Proposal
Review and decide what to do, not all are needed, and there is some outstanding bug with polls.
┆Issue is synchronized with this Asana task by Unito
Reactions are currently unavailable