How to configure timeout when getting items from DynamoDB in Golang

后端 未结 0 1917
故里飘歌
故里飘歌 2021-01-30 01:13

I want to put a timeout when getting an item from the DynamoDB in Golang. I tried to provide the http.Client with 500ms timeout, but it did not work.

Here\'s how I config

相关标签:
回答
  • 消灭零回复
提交回复
热议问题