googleapis / googleapis/google-cloud-python

can't disable timeouts in rpc calls

Đang mở
#15,382 1 bình luận 0 reaction 1 người được giao Được @daniel-sanche nhận Xem trên GitHub
api: firestore priority: p3 type: feature request
Ngôn ngữ chính
Python
Star
5.4k
Fork
1.8k
Merge trung bình
3 ngày 4 giờ
Pull request đã merge (30 ngày)
122

Mô tả

Most rpc calls support passing in a retry and timeout value to configure retry parameters (example: [WriteBatch.commit](https://github.com/googleapis/python-firestore/blob/f10b503b0dc2b23e43495e3f0417ae2630c13d82/google/cloud/firestore_v1/batch.py#L41))

But when `timeout=None`, that means it uses the api default, meaning there is no way to truly disable timeouts

That said, fixing this would likely be a breaking change, and timeout can always be set arbitrarily high, so this is a low-priority fix

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.