Skip to content

Commit

Permalink
Extend IPC timeout retry
Browse files Browse the repository at this point in the history
  • Loading branch information
michalbiesek committed Jul 11, 2023
1 parent 0d957a9 commit 9f08dac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cli/ipc/ipc.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ var (
)

const ipcComTimeout time.Duration = 50 * time.Microsecond
const comRetryLimit int = 50
const comRetryLimit int = 5000

type IpcPidCtx struct {
Pid int
Expand Down
2 changes: 1 addition & 1 deletion src/ipc.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
*/

// Send message retry count
#define RETRY_COUNT 50
#define RETRY_COUNT 5000
#define INPUT_MSG_ALLOC_LIMIT (1024*1024) // 1 MB

/*
Expand Down

0 comments on commit 9f08dac

Please sign in to comment.