datastore_grpc_service_config.json 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. {
  2. "methodConfig": [
  3. {
  4. "name": [
  5. {
  6. "service": "google.datastore.v1.Datastore",
  7. "method": "Lookup"
  8. },
  9. {
  10. "service": "google.datastore.v1.Datastore",
  11. "method": "RunQuery"
  12. },
  13. {
  14. "service": "google.datastore.v1.Datastore",
  15. "method": "RunAggregationQuery"
  16. },
  17. {
  18. "service": "google.datastore.v1.Datastore",
  19. "method": "ReserveIds"
  20. }
  21. ],
  22. "timeout": "60s",
  23. "retryPolicy": {
  24. "initialBackoff": "0.100s",
  25. "maxBackoff": "60s",
  26. "backoffMultiplier": 1.3,
  27. "retryableStatusCodes": ["UNAVAILABLE", "DEADLINE_EXCEEDED"]
  28. }
  29. },
  30. {
  31. "name": [
  32. {
  33. "service": "google.datastore.v1.Datastore",
  34. "method": "BeginTransaction"
  35. },
  36. {
  37. "service": "google.datastore.v1.Datastore",
  38. "method": "Commit"
  39. },
  40. {
  41. "service": "google.datastore.v1.Datastore",
  42. "method": "Rollback"
  43. },
  44. {
  45. "service": "google.datastore.v1.Datastore",
  46. "method": "AllocateIds"
  47. }
  48. ],
  49. "timeout": "60s"
  50. }
  51. ]
  52. }