feat: pow by default

This commit is contained in:
2024-09-23 17:18:41 +07:00
parent 9152c3e122
commit 3d5085785b
3 changed files with 12 additions and 20 deletions

View File

@@ -81,6 +81,7 @@ struct Subscription {
#[derive(Serialize, Deserialize, Type, Clone, TauriEvent)]
struct NewSettings(Settings);
pub const DEFAULT_DIFFICULTY: u8 = 21;
pub const FETCH_LIMIT: usize = 20;
pub const NEWSFEED_NEG_LIMIT: usize = 256;
pub const NOTIFICATION_NEG_LIMIT: usize = 64;