Open snario opened 3 years ago
We could define a custom prettifier key for things like retryAgainS to show the duration in a human readable format.
retryAgainS
e.g.,
{ customPrettifiers: { retryAgainS: prettifyQuery } } //... const prettifyQuery = value => { return Math.floor(value / 1000) + 's' }
_Originally posted by @snario in https://github.com/ethereum-optimism/optimism-ts-services/pull/33#discussion_r590613593_
cc @tynes if you think there are any other major keys to take human readability into account
We could define a custom prettifier key for things like
retryAgainS
to show the duration in a human readable format.e.g.,
_Originally posted by @snario in https://github.com/ethereum-optimism/optimism-ts-services/pull/33#discussion_r590613593_