Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
StackExchange.Redis
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tsai
StackExchange.Redis
Commits
a158fa85
Commit
a158fa85
authored
Apr 13, 2015
by
Marc Gravell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Investigation into #182
parent
4ad40bac
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
4 deletions
+13
-4
master.conf
Redis Configs/master.conf
+2
-1
secure.conf
Redis Configs/secure.conf
+2
-1
slave.conf
Redis Configs/slave.conf
+2
-1
Issue182.cs
StackExchange.Redis.Tests/Issues/Issue182.cs
+7
-1
No files found.
Redis Configs/master.conf
View file @
a158fa85
port
6379
port
6379
dbfilename
master
.
rdb
dbfilename
master
.
rdb
databases
2000
databases
2000
maxheap
2
gb
maxheap
6
gb
\ No newline at end of file
save
""
\ No newline at end of file
Redis Configs/secure.conf
View file @
a158fa85
...
@@ -2,4 +2,5 @@ port 6381
...
@@ -2,4 +2,5 @@ port 6381
requirepass
changeme
requirepass
changeme
dbfilename
secure
.
rdb
dbfilename
secure
.
rdb
databases
2000
databases
2000
maxheap
512
mb
maxheap
512
mb
\ No newline at end of file
save
""
\ No newline at end of file
Redis Configs/slave.conf
View file @
a158fa85
...
@@ -2,4 +2,5 @@ port 6380
...
@@ -2,4 +2,5 @@ port 6380
slaveof
127
.
0
.
0
.
1
6379
slaveof
127
.
0
.
0
.
1
6379
dbfilename
slave
.
rdb
dbfilename
slave
.
rdb
databases
2000
databases
2000
maxheap
2
gb
maxheap
2
gb
\ No newline at end of file
save
""
\ No newline at end of file
StackExchange.Redis.Tests/Issues/Issue182.cs
View file @
a158fa85
...
@@ -9,13 +9,19 @@ public class Issue182 : TestBase
...
@@ -9,13 +9,19 @@ public class Issue182 : TestBase
{
{
protected
override
string
GetConfiguration
()
protected
override
string
GetConfiguration
()
{
{
return
"127.0.0.1:6379"
;
return
"127.0.0.1:6379
,syncTimeout=10000
"
;
}
}
[
Test
]
[
Test
]
public
void
SetMembers
()
public
void
SetMembers
()
{
{
using
(
var
conn
=
Create
())
using
(
var
conn
=
Create
())
{
{
conn
.
ConnectionFailed
+=
(
s
,
a
)
=>
{
Console
.
WriteLine
(
a
.
FailureType
);
Console
.
WriteLine
(
a
.
Exception
.
Message
);
Console
.
WriteLine
(
a
.
Exception
.
StackTrace
);
};
var
db
=
conn
.
GetDatabase
();
var
db
=
conn
.
GetDatabase
();
var
key
=
Me
();
var
key
=
Me
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment