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/error-extstore.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/error-extstore.t')
-rw-r--r-- | t/error-extstore.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/error-extstore.t b/t/error-extstore.t index ed196bc..865360c 100644 --- a/t/error-extstore.t +++ b/t/error-extstore.t @@ -20,7 +20,7 @@ if (!supports_extstore()) { $ext_path = "/tmp/extstore.$$"; -my $server = new_memcached("-m 64 -I 4m -U 0 -o ext_page_size=8,ext_wbuf_size=8,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,slab_automove=0,ext_compact_under=1"); +my $server = new_memcached("-m 64 -I 4m -U 0 -o ext_page_size=8,ext_wbuf_size=8,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,slab_automove=0,ext_compact_under=1,ext_max_sleep=100000"); my $sock = $server->sock; # Wait until all items have flushed |