Skip to content
This repository has been archived by the owner on Dec 16, 2024. It is now read-only.

Commit

Permalink
Merge pull request #85 from olgeni/reuseaddr_fix
Browse files Browse the repository at this point in the history
Disable reuseaddr in SOCKET_OPTS (issue #61).
  • Loading branch information
knutin authored Aug 15, 2017
2 parents b0ff5a9 + 38557e6 commit 60329fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/eredis.hrl
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@

-define(NL, "\r\n").

-define(SOCKET_OPTS, [binary, {active, once}, {packet, raw}, {reuseaddr, true}]).
-define(SOCKET_OPTS, [binary, {active, once}, {packet, raw}, {reuseaddr, false}]).

-define(RECV_TIMEOUT, 5000).

0 comments on commit 60329fc

Please sign in to comment.