Skip to content

Commit

Permalink
Add db_param_limit to configuration file to manage SQL query paramete…
Browse files Browse the repository at this point in the history
…r limits
  • Loading branch information
aneust committed Oct 22, 2024
1 parent 1365b19 commit 2bb66b7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config/biigle.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,10 @@
'index_queue' => env('BIIGLE_FEDERATED_SEARCH_INDEX_QUEUE', 'default'),
],

/*
| Defines the maximum number of parameters allowed in a single SQL query. This is set to
| 65535 to prevent exceeding the database's parameter limit, which can lead to errors.
| Queries that need more parameters should be chunked to stay within this limit.
*/
'db_param_limit' => 65535,
];

0 comments on commit 2bb66b7

Please sign in to comment.