-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tracking Issue for Configuration Reference as per RFC #392
Comments
Here is a bunch of questions/proposals I have now. Use human-readable durationsThere are plenty of configuration parameters (usually ended with
[sumeragi]
block_time = "5 seconds" # instead of 5_000 We could implement our own parser, or use something like Note: users might always opt-out and specify a number of milliseconds: block_time = 5_000 Use human-readable byte sizesSame as for durations: [torii]
max_transaction_size = "32kb"
[wsv.wasm_runtime]
max_memory = "600 MiB" See:
|
As for the time we could use pretty standard format like ISO 8601. Though I'm totally fine with that humanize if that's convenient and does not introduce any awkward confusions. Agree with the byte size Agree with the network Agree with Agree with telemetry, though I'd suggest to reformat that to a configurable/pluggable telemetry,
or
but we might consider addressing that. Alternatively the telemetry could be represented by a separate config file with other, more complicated structure. |
I can't agree more: that'll help users a lot.
Just "network" sounds good to me.
Sounds good
In my opinion, it depends on the case that is handled. ISO is applicable if and when there are long intervals and parsing for some of them has the potential to be ambiguous, otherwise it may be more distracting. |
We discussed |
hyperledger-iroha#392 (comment) Signed-off-by: Dmitry Balashov <[email protected]>
I'm very much against this. I think config should be simple. Just using a suffix on the field name is the simplest thing and something everybody will know how to use. Otherwise, the user has to know what the proper format is and we have to implement our own parser for every field, etc. In this case I find that
This is definitely a no. There should be no opting out because it's ambiguous. Config fields should be unambiguous
again the same, I would rather like to see |
remove
just
let's go with |
I don't see a point |
Description
This issue is created to track the progress of creating a new Configuration Reference according to the Configuration Overhaul RFC.
Context
Checklist
2.0.0-pre-rc.20
to the new system #481Take this tasks/discussions into account:
logger.terminal_colors
setting to the CLI layer iroha#4030An outdated related task:
The text was updated successfully, but these errors were encountered: