Skip to content

Commit

Permalink
Bump Processor.max_size to 2000px
Browse files Browse the repository at this point in the history
Should ideally be configurable
  • Loading branch information
jonnor committed Oct 28, 2014
1 parent 4262fa0 commit 62943bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/processor.c
Expand Up @@ -37,7 +37,7 @@ processor_new(void) {
self->currently_processed_rect = NULL;
self->on_invalidated = NULL;
self->on_invalidated_data = NULL;
self->max_size = 1000; // Mainly to avoid DoS, or bugs causing out-of-memory
self->max_size = 2000; // Mainly to avoid DoS, or bugs causing out-of-memory
return self;
}

Expand Down

0 comments on commit 62943bb

Please sign in to comment.