diff options
author | dormando <dormando@rydia.net> | 2022-02-21 12:42:07 -0800 |
---|---|---|
committer | dormando <dormando@rydia.net> | 2022-02-21 12:44:29 -0800 |
commit | ae3efecb15dfeccabee9b3a7ec429a6c7c41e032 (patch) | |
tree | 0822a9ded59c7ce53101bfc738207b30f3c959cc /t/extstore-jbod.t | |
parent | 34e0359d4de223d8cde4166f7d10ae352d7ebfdf (diff) | |
download | memcached-ae3efecb15dfeccabee9b3a7ec429a6c7c41e032.tar.gz |
storage: parameterize the compaction thread sleep
allows tests to run faster, let users make it sleep longer/less time.
Also cuts the sleep time down when actively compacting and coming from
high idle.
Diffstat (limited to 't/extstore-jbod.t')
-rw-r--r-- | t/extstore-jbod.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/extstore-jbod.t b/t/extstore-jbod.t index 1618803..de8e5e8 100644 --- a/t/extstore-jbod.t +++ b/t/extstore-jbod.t @@ -19,7 +19,7 @@ if (!supports_extstore()) { $ext_path = "/tmp/extstore1.$$"; $ext_path2 = "/tmp/extstore2.$$"; -my $server = new_memcached("-m 256 -U 0 -o ext_page_size=8,ext_wbuf_size=2,ext_threads=1,ext_io_depth=2,ext_item_size=512,ext_item_age=2,ext_recache_rate=10000,ext_max_frag=0.9,ext_path=$ext_path:64m,ext_path=$ext_path2:96m,slab_automove=1"); +my $server = new_memcached("-m 256 -U 0 -o ext_page_size=8,ext_wbuf_size=2,ext_threads=1,ext_io_depth=2,ext_item_size=512,ext_item_age=2,ext_recache_rate=10000,ext_max_frag=0.9,ext_path=$ext_path:64m,ext_path=$ext_path2:96m,slab_automove=1,ext_max_sleep=100000"); my $sock = $server->sock; my $value; |