Clean up subscription code; handle error properly.

This commit is contained in:
Paul committed 2021-02-19 12:48:52 +00:00
1 parent 02077a4024
commit 78cfbf9d21
7 files changed
+17 -12

No files matched your search

-2
View File
@@ -52,8 +52,6 @@ lazy_static! {
// Application Logic Settings
pub static ref MAX_GROUP_SIZE: usize =
env::var("REVOLT_MAX_GROUP_SIZE").unwrap_or_else(|_| "50".to_string()).parse().unwrap();
pub static ref PUSH_LIMIT: usize =
env::var("REVOLT_PUSH_LIMIT").unwrap_or_else(|_| "50".to_string()).parse().unwrap();
}
pub fn preflight_checks() {