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

Changing default execution time #22

Open
adliwahid opened this issue Jul 26, 2021 · 1 comment
Open

Changing default execution time #22

adliwahid opened this issue Jul 26, 2021 · 1 comment

Comments

@adliwahid
Copy link

Is there a way to pass the 'execution time' via the API call or change the default value of execution time? thanks!

@markelbsk
Copy link

You can pass the 'execution time' as an argument in the POST request. Here an example in python.

import requests

myfile = {"file": yourfile}
args = {'exec_time': 300}
response = requests.post("http://localhost:4242/api/tasks/create/file",files=myfile,data=args)

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

No branches or pull requests

2 participants