|
@@ -171,8 +171,9 @@ class SnapshotView(View):
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- LOGGER.info('快照异步事件请求: url:{},data:{}'.format(api_uri, payload_json))
|
|
|
- response = requests.post(api_uri, json=payload_json, headers=headers)
|
|
|
+ LOGGER.info('快照异步事件请求: url:{},data:{}, headers, time_sample:{}'.format(
|
|
|
+ api_uri, payload_json, headers, time_sample))
|
|
|
+ response = requests.post(api_uri, json=payload_json, headers=headers, timeout=30)
|
|
|
LOGGER.info('快照异步事件请求响应: {}'.format(response.json()))
|
|
|
|
|
|
return JsonResponse({'res': 'success'})
|