fix: only add delta bytes when changing app data value

This commit is contained in:
trisua 2025-07-20 03:33:03 -04:00
parent 270d7550d6
commit d58e47cbbe
2 changed files with 9 additions and 2 deletions

View file

@ -5,7 +5,7 @@ use crate::{auto_method, DataManager};
use oiseau::{PostgresRow, execute, get, query_row, query_rows, params};
pub const FREE_DATA_LIMIT: usize = 512_000;
pub const PASS_DATA_LIMIT: usize = 5_242_880;
pub const PASS_DATA_LIMIT: usize = 26_214_400;
impl DataManager {
/// Get a [`AppData`] from an SQL row.