Skip to content

Commit

Permalink
Merge pull request #731 from kobotoolbox/730-mongodb-max-time-ms-too-…
Browse files Browse the repository at this point in the history
…high

MongoDB query timeout calculation fix
  • Loading branch information
noliveleger authored Jun 14, 2021
2 parents e29710f + 58f1472 commit 3f611ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion onadata/settings/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ def skip_suspicious_operations(record):
CELERY_TASK_DEFAULT_QUEUE = "kobocat_queue"


MONGO_DB_MAX_TIME_MS = CELERY_TASK_TIME_LIMIT * 60 * 1000
MONGO_DB_MAX_TIME_MS = CELERY_TASK_TIME_LIMIT * 1000

# duration to keep zip exports before deletion (in seconds)
ZIP_EXPORT_COUNTDOWN = 24 * 60 * 60
Expand Down

0 comments on commit 3f611ef

Please sign in to comment.