diff --git a/fly.toml b/fly.toml new file mode 100644 index 000000000..ae602a0b0 --- /dev/null +++ b/fly.toml @@ -0,0 +1,41 @@ +# fly.toml file generated for mango-liquidator on 2023-03-20T15:18:52+01:00 + +app = "mango-liquidator" +kill_signal = "SIGINT" +kill_timeout = 5 +primary_region = "nrt" +processes = [] + +[build] + dockerfile = "../bin/liquidator/Dockerfile.liquidator" + +[env] + +[experimental] + auto_rollback = true + +[[services]] + http_checks = [] + internal_port = 8080 + processes = ["app"] + protocol = "tcp" + script_checks = [] + [services.concurrency] + hard_limit = 25 + soft_limit = 20 + type = "connections" + + [[services.ports]] + force_https = true + handlers = ["http"] + port = 80 + + [[services.ports]] + handlers = ["tls", "http"] + port = 443 + + [[services.tcp_checks]] + grace_period = "1s" + interval = "15s" + restart_limit = 0 + timeout = "2s" diff --git a/ts/client/scripts/mm/params/default.json b/ts/client/scripts/mm/params/default.json index e166f5e26..d6be4938d 100644 --- a/ts/client/scripts/mm/params/default.json +++ b/ts/client/scripts/mm/params/default.json @@ -5,7 +5,7 @@ "assets": { "BTC": { "perp": { - "sizePerc": 0.5, + "sizePerc": 0.25, "leanCoeff": 0.00025, "bias": 0.0, "requoteThresh": 0.0002, @@ -16,7 +16,7 @@ }, "SOL": { "perp": { - "sizePerc": 0.5, + "sizePerc": 0.25, "leanCoeff": 0.00025, "bias": 0.0, "requoteThresh": 0.0002,