Commits

Xianyi Lin  committed 2be4bf8

Added high_replication for runserver coming in App
I Engine 1.5.1.

  • Participants
  • Parent commits 9c31e35

Comments (0)

Files changed (1)

File management/commands/runserver.py

                 search paths and errors.'),
         make_option('-c', '--clear_datastore', action='store_true', default=False,
             help='Clears the datastore data and history files before starting the web server.'),
+        make_option('--high_replication', action='store_true', default=False,
+            help='Use the high replication datastore consistency model.'),
         make_option('--require_indexes', action='store_true', default=False,
             help="""Disables automatic generation of entries in the index.yaml file. Instead, when
                     the application makes a query that requires that its index be defined in the
 
         # Process the rest of the options here
         bool_options = ['debug', 'debug_imports', 'clear_datastore', 'require_indexes',
-                        'enable_sendmail', ]
+                        'high_replication', 'enable_sendmail', ]
         for opt in bool_options:
             if options[opt] != False:
                 args.append("--%s" % opt)