From 146e6e6588054250d8d73279bce3e7a37a52184e Mon Sep 17 00:00:00 2001 From: Ryan Kelly Date: Fri, 10 Mar 2017 10:34:44 +1100 Subject: [PATCH] Disable batch-upload API by default, it's not in production yet. --- syncserver/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/syncserver/__init__.py b/syncserver/__init__.py index e0e6a8e..735229a 100644 --- a/syncserver/__init__.py +++ b/syncserver/__init__.py @@ -83,9 +83,9 @@ def includeme(config): settings["storage.backend"] = "syncstorage.storage.sql.SQLStorage" settings["storage.sqluri"] = sqluri settings["storage.create_tables"] = True - if "storage.batch_upload_enabled" not in settings: - # Default the new batch-upload API to on - settings["storage.batch_upload_enabled"] = True + # The batch-upload API is not yet stable in production. + # if "storage.batch_upload_enabled" not in settings: + # settings["storage.batch_upload_enabled"] = True if "browserid.backend" not in settings: # Default to remote verifier, with base of public_url as only audience audience = urlunparse(urlparse(public_url)._replace(path=""))