We are using Firestore for Datastore and trying to bulk load data from CSV into Datastore. So we are making use of this API:
console.time(label);
let result = await this.datastore.upsert(entities); // insert or update if exists
console.timeEnd(label);
our batch size is 500 entities. After running for a minute or so we get:
4 DEADLINE_EXCEEDED: Deadline exceeded
How can we fix this?