threefoldtech / tfgrid-sdk-ts

Apache License 2.0
4 stars 8 forks source link

Update the downtime in the `getNodeAvailability` function to downtime or standbytime #2900

Open Mahmoud-Emad opened 5 months ago

Mahmoud-Emad commented 5 months ago

Which package/s are you suggesting this feature for?

Dashboard

Is your feature request related to a problem? Please describe

Update the downtime in the getNodeAvailability function to downtime or standbytime please check https://github.com/threefoldtech/tfgrid-sdk-ts/blob/499f5fefc2b9adbad13286b9a52b1eb11126f809/packages/playground/src/utils/node.ts#L95

Describe the solution you'd like

Update the downtime in the getNodeAvailability function to downtime or standbytime please check https://github.com/threefoldtech/tfgrid-sdk-ts/blob/499f5fefc2b9adbad13286b9a52b1eb11126f809/packages/playground/src/utils/node.ts#L95

AhmedHanafy725 commented 4 months ago

please check if the calculation is correct.

samaradel commented 4 months ago

Work in progress:

I'm trying to get node status to use instead of hard coded down status

samaradel commented 4 months ago

Work Completed:

Make the status of getNodeAvailability dynamic

samaradel commented 4 months ago

blocked on unclear requirement