Skip to content

Commit

Permalink
Merge pull request #381 from PanDAWMS/tania_dev
Browse files Browse the repository at this point in the history
core | remove threshold for using tmp table for non Oracle instances
  • Loading branch information
tkorchug authored Aug 27, 2024
2 parents ac75e17 + cd600cd commit 572b620
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/settings/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,10 @@
elif 'MYSQL' in DEPLOYMENT:
DATETIME_FORMAT = "%Y-%m-%d %H:%M:%SZ"

# max number of items in IN (*,*..) query, if more - use tmp table.
# max number of items in `IN (*,*..)` query, if more - use tmp table. Do not use it for non oracle deployments
DB_N_MAX_IN_QUERY = 100
if 'ORACLE' not in DEPLOYMENT:
DB_N_MAX_IN_QUERY = 100000000

CACHES = {
"default": {
Expand Down

0 comments on commit 572b620

Please sign in to comment.