Skip to content

Commit f02e667

Browse files
author
Shuotian Cheng
authored
[sairedis]: Increase the GET response timeout to 6 min (sonic-net#189)
1 parent d3a30ba commit f02e667

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lib/inc/sai_redis.h

+2-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
#include <set>
66
#include <unordered_map>
77

8-
//#include "stdint.h"
98
#include <stdio.h>
109

1110
extern "C" {
@@ -23,9 +22,9 @@ extern "C" {
2322
#include "swss/logger.h"
2423
#include "meta/sai_meta.h"
2524

26-
// if we don't receive response from syncd in 60 seconds
25+
// if we don't receive response from syncd in 6*60 seconds
2726
// there is something wrong and we should fail
28-
#define GET_RESPONSE_TIMEOUT (60*1000)
27+
#define GET_RESPONSE_TIMEOUT (6*60*1000)
2928

3029
extern volatile bool g_record;
3130
extern void setRecording(bool record);

0 commit comments

Comments
 (0)