Skip to content
This repository has been archived by the owner on Aug 20, 2019. It is now read-only.

Commit

Permalink
Increase maximum limit in get_messages from 100 to 1000
Browse files Browse the repository at this point in the history
  • Loading branch information
hannosch committed Aug 27, 2012
1 parent e9c4851 commit 097e5c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion queuey/validators.py
Expand Up @@ -49,7 +49,7 @@ def comma_int_list(node, value):
class GetMessages(colander.MappingSchema):
since = colander.SchemaNode(colander.String(), missing=None)
limit = colander.SchemaNode(colander.Int(), missing=None,
validator=colander.Range(1, 100))
validator=colander.Range(1, 1000))
order = colander.SchemaNode(colander.String(), missing="ascending",
validator=colander.OneOf(['descending',
'ascending']))
Expand Down

0 comments on commit 097e5c8

Please sign in to comment.