Home > Software engineering >  How to pass 2 parameters when starting Cosmosdb Emulator?
How to pass 2 parameters when starting Cosmosdb Emulator?

Time:10-20

I wanted to test out the Patch API, I followed the docs on the github to test Patch API with Emulator,

C:\Program Files\Azure Cosmos DB Emulator> .\CosmosDB.Emulator.exe /EnablePreview

which works fine, however when i start inserting items it throws an error,

Sorry, we are currently experiencing high demand in this region, and cannot fulfill your request at this time.

I came across this post, how can i run this command and the above command together when starting the emulator?

CodePudding user response:

I guess you simply need to run ,

.\CosmosDB.Emulator.exe /EnablePreview /PartitionCount=100

in the Cosmos Emulator Folder

  • Related