aboutsummaryrefslogtreecommitdiff
path: root/scenarios
diff options
context:
space:
mode:
Diffstat (limited to 'scenarios')
-rw-r--r--scenarios/fragments/garage.py2
-rwxr-xr-xscenarios/garage-warp2
2 files changed, 3 insertions, 1 deletions
diff --git a/scenarios/fragments/garage.py b/scenarios/fragments/garage.py
index 34aae30..739f982 100644
--- a/scenarios/fragments/garage.py
+++ b/scenarios/fragments/garage.py
@@ -59,7 +59,7 @@ def deploy_follow(uroot={}, us3_api={}, us3_web={}, uadmin={}):
sync_on_key_up()
shared.log("ready")
-def to_toml(d): return "\n".join([ f"{k} = \"{v}\"" for k, v in d.items() ])
+def to_toml(d): return "\n".join([ f"{k} = {v}" if type(v) is int else f"{k} = \"{v}\"" for k, v in d.items() ])
def daemon(uroot={}, us3_api={}, us3_web={}, uadmin={}):
root = {
"metadata_dir": f"{storage_path}/meta",
diff --git a/scenarios/garage-warp b/scenarios/garage-warp
index 8994e87..c102359 100755
--- a/scenarios/garage-warp
+++ b/scenarios/garage-warp
@@ -11,6 +11,8 @@ for fl in sys.argv[1:]:
warp.bench = flavor.warp[fl]
elif fl in db_engines:
conf_root['db_engine'] = fl
+ elif 'sled_no_fsync' == fl:
+ conf_root['sled_flush_every_ms'] = 1000 * 60 * 10 # 10 minutes
if shared.id() == 1:
garage.deploy_coord(uroot=conf_root)