Skip to content

Commit

Permalink
feat(cognitarium): add max_query_limit limit
Browse files Browse the repository at this point in the history
  • Loading branch information
ccamel authored and amimart committed Apr 20, 2023
1 parent a467889 commit b97835b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions contracts/okp4-cognitarium/src/msg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ pub struct StoreLimits {
/// storing very large triples, especially literals.
/// If `None`, there is no limit on the number of bytes.
pub max_triple_byte_size: Option<Uint128>,
/// The maximum limit of a query, i.e. the maximum number of triples returned by a select query.
/// If `None`, there is no limit on the number of triples returned.
pub max_limit: Option<Uint128>,
}

/// # GraphInput
Expand Down

0 comments on commit b97835b

Please sign in to comment.