We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 696a1cf commit 63c677fCopy full SHA for 63c677f
appengine/flexible/pubsub/main.py
@@ -44,6 +44,8 @@ def index():
44
45
data = request.form.get('payload', 'Example payload').encode('utf-8')
46
47
+ # Consider initialzing the publisher client outside this function
48
+ # for low latency publish.
49
publisher = pubsub_v1.PublisherClient()
50
topic_path = publisher.topic_path(
51
current_app.config['PROJECT'],
0 commit comments