Skip to content

Commit

Permalink
[sairedis]: Increase the GET response timeout to 6 min (sonic-net#189)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shuotian Cheng authored Jun 1, 2017
1 parent d3a30ba commit f02e667
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/inc/sai_redis.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
#include <set>
#include <unordered_map>

//#include "stdint.h"
#include <stdio.h>

extern "C" {
Expand All @@ -23,9 +22,9 @@ extern "C" {
#include "swss/logger.h"
#include "meta/sai_meta.h"

// if we don't receive response from syncd in 60 seconds
// if we don't receive response from syncd in 6*60 seconds
// there is something wrong and we should fail
#define GET_RESPONSE_TIMEOUT (60*1000)
#define GET_RESPONSE_TIMEOUT (6*60*1000)

extern volatile bool g_record;
extern void setRecording(bool record);
Expand Down

0 comments on commit f02e667

Please sign in to comment.