Home
last modified time | relevance | path

Searched refs:config (Results 1 – 25 of 50) sorted by relevance

12

/redis-3.2.3/src/
H A Dredis-benchmark.c82 } config; argument
174 if (config.requests_finished == config.requests) { in clientDone()
267 if (config.requests_issued++ >= config.requests) { in writeHandler()
358 (int)sdslen(config.dbnumstr),config.dbnumstr); in createClient()
416 while(config.liveclients < config.numclients) { in createMissingClients()
436 if (!config.quiet && !config.csv) { in showLatencyReport()
473 config.totlatency = mstime()-config.start; in benchmark()
512 if (config.datasize < 1) config.datasize=1; in parseOptions()
517 if (config.pipeline <= 0) config.pipeline=1; in parseOptions()
543 config.tests = sdscat(config.tests,","); in parseOptions()
[all …]
H A Dredis-cli.c121 } config; argument
161 len = anetFormatAddr(config.prompt, sizeof(config.prompt), in cliRefreshPrompt()
162 config.hostip, config.hostport); in cliRefreshPrompt()
167 snprintf(config.prompt+len,sizeof(config.prompt)-len,"> "); in cliRefreshPrompt()
804 slot, config.hostip, config.hostport); in cliReadReply()
926 if (config.interval) usleep(config.interval); in cliSendCommand()
948 c = redisConnect(config.hostip,config.hostport); in reconnectingRedisCommand()
1072 if (config.eval_ldb && config.eval == NULL) { in parseOptions()
1467 config.interval ? config.interval/1000 : in latencyMode()
1573 config.interval ? config.interval/1000 : in latencyDistMode()
[all …]
H A DMakefile.dep8 aof.o: aof.c server.h fmacros.h config.h solarisfixes.h \
13 bio.o: bio.c server.h fmacros.h config.h solarisfixes.h \
31 config.o: config.c server.h fmacros.h config.h solarisfixes.h \
41 db.o: db.c server.h fmacros.h config.h solarisfixes.h \
69 memtest.o: memtest.c config.h
94 rdb.o: rdb.c server.h fmacros.h config.h solarisfixes.h \
101 redis-check-aof.o: redis-check-aof.c fmacros.h config.h
138 sha1.o: sha1.c solarisfixes.h sha1.h config.h
179 config.h redisassert.h
180 zipmap.o: zipmap.c zmalloc.h endianconv.h config.h
[all …]
/redis-3.2.3/tests/support/
H A Dserver.tcl27 proc kill_server config { argument
32 if {![is_alive $config]} { return }
33 set pid [dict get $config pid]
62 while {[is_alive $config]} {
83 proc is_alive config { argument
84 set pid [dict get $config pid]
180 set config {}
195 dict set config port $::port
257 if {[dict exists $config bind]} { set host [dict get $config bind] }
258 if {[dict exists $config port]} { set port [dict get $config port] }
[all …]
/redis-3.2.3/tests/integration/
H A Dreplication-2.tcl10 r config set min-slaves-to-write 1
11 r config set min-slaves-max-lag 10
21 r config set min-slaves-to-write 2
22 r config set min-slaves-max-lag 10
28 r config set min-slaves-to-write 1
29 r config set min-slaves-max-lag 10
40 r config set min-slaves-to-write 1
41 r config set min-slaves-max-lag 2
52 r config set min-slaves-to-write 1
65 r config set min-slaves-to-write 0
[all …]
H A Dreplication-4.tcl75 $master config set min-slaves-max-lag 3
76 $master config set min-slaves-to-write 1
81 $master config set min-slaves-max-lag 3
82 $master config set min-slaves-to-write 2
88 $master config set min-slaves-max-lag 2
89 $master config set min-slaves-to-write 1
H A Dreplication-psync.tcl29 $master config set repl-backlog-size $backlog_size
30 $master config set repl-backlog-ttl $backlog_ttl
31 $master config set repl-diskless-sync $diskless
32 $master config set repl-diskless-sync-delay 1
H A Daof-race.tcl7 set config [concat $defaults $overrides]
8 start_server [list overrides $config] $code
H A Drdb.tcl47 set config [concat $defaults $overrides]
48 set srv [start_server [list overrides $config]]
H A Dreplication.tcl20 $master config set repl-diskless-sync yes
21 $master config set repl-diskless-sync-delay 1000
26 $slave config set repl-timeout 5
189 $master config set repl-diskless-sync $dl
/redis-3.2.3/tests/unit/
H A Dmaxmemory.tcl3 r config set maxmemory 0
9 r config set maxmemory 1073741824
10 r config set maxmemory-policy allkeys-random
16 r config set maxmemory 1073741824
17 r config set maxmemory-policy allkeys-lru
19 r config set maxmemory-policy volatile-lru
23 r config set maxmemory 0
37 r config set maxmemory $limit
38 r config set maxmemory-policy $policy
69 r config set maxmemory $limit
[all …]
H A Dpubsub.tcl229 r config set notify-keyspace-events KA
238 r config set notify-keyspace-events EA
301 r config set notify-keyspace-events Ks
316 r config set notify-keyspace-events Kz
331 r config set notify-keyspace-events Kh
343 r config set notify-keyspace-events Ex
358 r config set notify-keyspace-events Ex
368 r config set notify-keyspace-events Ee
374 r config set maxmemory 1
376 r config set maxmemory 0
[all …]
H A Dslowlog.tcl7 r config set slowlog-log-slower-than 100000
15 r config set slowlog-log-slower-than 0
16 r config set slowlog-max-len 10
28 r config set slowlog-log-slower-than 100000
43 r config set slowlog-log-slower-than 0
51 r config set slowlog-log-slower-than 0
60 r config set slowlog-log-slower-than 100000
H A Dobuf-limits.tcl3 r config set client-output-buffer-limit {pubsub 100000 0 0}
23 r config set client-output-buffer-limit {pubsub 0 100000 10}
49 r config set client-output-buffer-limit {pubsub 0 100000 3}
H A Daofrw.tcl3 r config set appendonly yes
4 r config set auto-aof-rewrite-percentage 0 ; # Disable auto-rewrite.
66 r config set appendonly yes
70 r config set appendonly no
/redis-3.2.3/tests/sentinel/tests/
H A D07-down-conditions.tcl55 set orig_dir [lindex [R 0 config get dir] 1]
56 set orig_save [lindex [R 0 config get save] 1]
58 R 0 config set dir /
59 R 0 config set dbfilename tmp
60 R 0 config set save "1000000 1000000"
63 R 0 config set save $orig_save
64 R 0 config set dir $orig_dir
65 R 0 config set dbfilename dump.rdb
/redis-3.2.3/deps/hiredis/
H A Dtest.c21 struct config { struct
86 static redisContext *connect(struct config config) { in connect() argument
90 c = redisConnect(config.tcp.host, config.tcp.port); in connect()
220 static void test_append_formatted_commands(struct config config) { in test_append_formatted_commands() argument
226 c = connect(config); in test_append_formatted_commands()
346 static void test_blocking_connection(struct config config) { in test_blocking_connection() argument
424 static void test_blocking_io_errors(struct config config) { in test_blocking_io_errors() argument
475 static void test_invalid_timeout_errors(struct config config) { in test_invalid_timeout_errors() argument
483 c = redisConnectWithTimeout(config.tcp.host, config.tcp.port, config.tcp.timeout); in test_invalid_timeout_errors()
492 c = redisConnectWithTimeout(config.tcp.host, config.tcp.port, config.tcp.timeout); in test_invalid_timeout_errors()
[all …]
/redis-3.2.3/utils/lru/
H A Dtest-lru.rb5 r.config("SET","maxmemory","2000000")
6 r.config("SET","maxmemory-policy","allkeys-lru")
7 r.config("SET","maxmemory-samples",5)
8 r.config("RESETSTAT")
/redis-3.2.3/deps/jemalloc/
H A D.gitignore3 /bin/jemalloc-config
7 /config.stamp
8 /config.log
9 /config.status
H A DMakefile.in422 rm -f $(objroot)bin/jemalloc-config
425 rm -f $(objroot)config.log
426 rm -f $(objroot)config.status
427 rm -f $(objroot)config.stamp
444 $(objroot)config.status : $(srcroot)configure
445 ./$(objroot)config.status --recheck
447 $(srcroot)config.stamp.in : $(srcroot)configure.ac
448 echo stamp > $(srcroot)config.stamp.in
450 $(objroot)config.stamp : $(cfgoutputs_in) $(cfghdrs_in) $(srcroot)configure
451 ./$(objroot)config.status
[all …]
/redis-3.2.3/deps/jemalloc/bin/
H A Djemalloc-config.in6 @BINDIR@/jemalloc-config <option>
11 --config : Print configure options used to build jemalloc.
40 --config)
/redis-3.2.3/tests/cluster/tests/includes/
H A Dinit-tests.tcl40 R $id config set cluster-node-timeout $node_timeout
41 R $id config set cluster-slave-validity-factor 10
42 R $id config rewrite
/redis-3.2.3/tests/cluster/tests/
H A D04-resharding.tcl18 R $id config set appendonly yes
21 R $id config set appendfsync no
142 R $id config set appendonly no
/redis-3.2.3/utils/create-cluster/
H A Dcreate-cluster12 if [ -a config.sh ]
25 …../../src/redis-server --port $PORT --cluster-enabled yes --cluster-config-file nodes-${PORT}.conf…
H A D.gitignore1 config.sh

12