Skip to content
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

SLC Deployer: Add timeout option to CLI #52

Open
Tracked by #42
ckunki opened this issue Aug 14, 2024 · 3 comments · May be fixed by #57
Open
Tracked by #42

SLC Deployer: Add timeout option to CLI #52

ckunki opened this issue Aug 14, 2024 · 3 comments · May be fixed by #57
Assignees
Labels
feature Product feature

Comments

@ckunki
Copy link
Contributor

ckunki commented Aug 14, 2024

In the scope of ticket #50 a new ExtractValidator has been implemented.

The current ticket requests adding options to the CLI so that an interactive user can control the timeout duration.

Proposal:

@click.option('--extract-timeout-minutes', type=int, default=10)

Open question:

  • Should the CLI specify a default-callback?
  • Should the CLI enable to select a callback?
@ahsimb
Copy link
Collaborator

ahsimb commented Aug 16, 2024

How would interactive users know what the timeout value should be?
I don't think this option is necessary. It will just clog the documentation.

@tkilias
Copy link
Collaborator

tkilias commented Sep 12, 2024

@ahsimb this option makes actually sense, because the time to wait depends on a lot of factors. And, not all of them we have under control or can detect.

Factors

  • Size of SLC
  • Files in SLC
  • Nodes in Cluster
  • type of BucketFS (SaaS or on-prem)
  • hardware (CPU speed, disk speed, network speed)

@tkilias tkilias self-assigned this Sep 13, 2024
@ckunki
Copy link
Contributor Author

ckunki commented Sep 13, 2024

I agree to both comments: this option makes sense in my eyes, but still the users won't know what the timeout value should be in advance. Bad situation.

I personally would prefer having a way to adjust the timeout than having no way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Product feature
Projects
None yet
3 participants