Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit cd095bc

Browse filesBrowse files
Pub/Sub: update retry settings in sample (GoogleCloudPlatform#2395)
1 parent 9dd2367 commit cd095bc
Copy full SHA for cd095bc

File tree

Expand file treeCollapse file tree

1 file changed

+6
-6
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+6
-6
lines changed

‎pubsub/cloud-client/publisher.py

Copy file name to clipboardExpand all lines: pubsub/cloud-client/publisher.py
+6-6Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -249,13 +249,13 @@ def publish_messages_with_retry_settings(project_id, topic_name):
249249
},
250250
'retry_params': {
251251
'messaging': {
252-
'initial_retry_delay_millis': 150, # default: 100
253-
'retry_delay_multiplier': 1.5, # default: 1.3
254-
'max_retry_delay_millis': 65000, # default: 60000
255-
'initial_rpc_timeout_millis': 25000, # default: 25000
252+
'initial_retry_delay_millis': 100, # default: 100
253+
'retry_delay_multiplier': 1.3, # default: 1.3
254+
'max_retry_delay_millis': 60000, # default: 60000
255+
'initial_rpc_timeout_millis': 5000, # default: 25000
256256
'rpc_timeout_multiplier': 1.0, # default: 1.0
257-
'max_rpc_timeout_millis': 35000, # default: 30000
258-
'total_timeout_millis': 650000, # default: 600000
257+
'max_rpc_timeout_millis': 600000, # default: 30000
258+
'total_timeout_millis': 600000, # default: 600000
259259
}
260260
},
261261
'methods': {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.