Skip to content

Commit

Permalink
feat: decrease ttl, fix typo (#809)
Browse files Browse the repository at this point in the history
* feat: try run tests parallel

* set smaller default timeouts, fix typo

* Apply automatic changes

---------

Co-authored-by: shamsartem <[email protected]>
  • Loading branch information
shamsartem and shamsartem authored Feb 24, 2024
1 parent 257caef commit 7f80dcf
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions docs/commands/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ FLAGS
key
--deal-ids=<id-1,id-2> Comma-separated deal ids of the deployed deal. Can't be used together
with DEPLOYMENT-NAMES arg
--dial-timeout=<milliseconds> [default: 60000] Timeout for Fluence js-client to connect to relay
--dial-timeout=<milliseconds> [default: 15000] Timeout for Fluence js-client to connect to relay
peer
--env=<dar | stage | kras | local | custom> Fluence Environment to use when running the command
--no-input Don't interactively ask for any input from the user
Expand All @@ -451,7 +451,7 @@ FLAGS
--relay=<multiaddress> Relay for Fluence js-client to connect to
--spell=<spell-name> [default: worker-spell] Spell name to get logs for
--tracing Compile aqua in tracing mode (for debugging purposes)
--ttl=<milliseconds> [default: 120000] Particle Time To Live since 'now'. After that,
--ttl=<milliseconds> [default: 15000] Particle Time To Live since 'now'. After that,
particle is expired and not processed.
DESCRIPTION
Expand Down Expand Up @@ -823,7 +823,7 @@ FLAGS
key
-u, --update Update your previous deployment
--[no-]auto-match Toggle automatic matching. Auto-matching is turned on by default
--dial-timeout=<milliseconds> [default: 60000] Timeout for Fluence js-client to connect to relay
--dial-timeout=<milliseconds> [default: 15000] Timeout for Fluence js-client to connect to relay
peer
--env=<dar | stage | kras | local | custom> Fluence Environment to use when running the command
--import=<path>... Path to a directory to import aqua files from. May be used several
Expand All @@ -841,7 +841,7 @@ FLAGS
key will be used by default
--relay=<multiaddress> Relay for Fluence js-client to connect to
--tracing Compile aqua in tracing mode (for debugging purposes)
--ttl=<milliseconds> [default: 120000] Particle Time To Live since 'now'. After that,
--ttl=<milliseconds> [default: 15000] Particle Time To Live since 'now'. After that,
particle is expired and not processed.
DESCRIPTION
Expand Down Expand Up @@ -1702,7 +1702,7 @@ FLAGS
can call a function using these argument names like this: -f
'myFunc(argumentName)'. Arguments in this flag can be overridden
using --data flag
--dial-timeout=<milliseconds> [default: 60000] Timeout for Fluence js-client to connect to relay
--dial-timeout=<milliseconds> [default: 15000] Timeout for Fluence js-client to connect to relay
peer
--env=<dar | stage | kras | local | custom> Fluence Environment to use when running the command
--import=<path>... Path to a directory to import aqua files from. May be used several
Expand All @@ -1719,7 +1719,7 @@ FLAGS
--quiet Print only execution result. Overrides all --log-level-* flags
--relay=<multiaddress> Relay for Fluence js-client to connect to
--tracing Compile aqua in tracing mode (for debugging purposes)
--ttl=<milliseconds> [default: 120000] Particle Time To Live since 'now'. After that,
--ttl=<milliseconds> [default: 15000] Particle Time To Live since 'now'. After that,
particle is expired and not processed.
DESCRIPTION
Expand Down
4 changes: 2 additions & 2 deletions src/lib/const.ts
Original file line number Diff line number Diff line change
Expand Up @@ -463,12 +463,12 @@ export const FLUENCE_CLIENT_FLAGS = {
[TTL_FLAG_NAME]: Flags.integer({
description:
"Particle Time To Live since 'now'. After that, particle is expired and not processed.",
default: 120_000,
default: 15_000,
helpValue: "<milliseconds>",
}),
[DIAL_TIMEOUT_FLAG_NAME]: Flags.integer({
description: "Timeout for Fluence js-client to connect to relay peer",
default: 60000,
default: 15_000,
helpValue: "<milliseconds>",
}),
"particle-id": Flags.boolean({
Expand Down
2 changes: 1 addition & 1 deletion src/lib/dealClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ export async function sign<T extends unknown[]>(
commandObj.logToStderr(
`${color.yellow(method.name)} transaction ${color.yellow(
tx.hash,
)} was mined successfuly`,
)} was mined successfully`,
);

return res;
Expand Down

0 comments on commit 7f80dcf

Please sign in to comment.