mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-23 00:28:26 -05:00
Merge pull request #819 from Keruspe/unstable
test-server: only listen to 127.0.0.1
This commit is contained in:
commit
82d782d3b5
@ -5,6 +5,7 @@ daemonize no
|
|||||||
pidfile /var/run/redis.pid
|
pidfile /var/run/redis.pid
|
||||||
port 6379
|
port 6379
|
||||||
timeout 0
|
timeout 0
|
||||||
|
bind 127.0.0.1
|
||||||
loglevel verbose
|
loglevel verbose
|
||||||
logfile ''
|
logfile ''
|
||||||
databases 16
|
databases 16
|
||||||
|
@ -186,7 +186,7 @@ proc test_server_main {} {
|
|||||||
if {!$::quiet} {
|
if {!$::quiet} {
|
||||||
puts "Starting test server at port $port"
|
puts "Starting test server at port $port"
|
||||||
}
|
}
|
||||||
socket -server accept_test_clients $port
|
socket -server accept_test_clients -myaddr 127.0.0.1 $port
|
||||||
|
|
||||||
# Start the client instances
|
# Start the client instances
|
||||||
set ::clients_pids {}
|
set ::clients_pids {}
|
||||||
|
Loading…
Reference in New Issue
Block a user